Re: Copying files >2GB
Re: Copying files >2GB
- Subject: Re: Copying files >2GB
- From: "Jan E. Schotsman" <email@hidden>
- Date: Tue, 24 Feb 2004 03:56:05 -0500
Hello Quinn,
>
This one is easy. Just call PBHGetVolParms and then look at the
vMServerAdr field of the resulting GetVolParmsInfoBuffer. If its
non-zero, the volume is a network volume.<
I wasn't sure if this would work for all kinds of networks.
>
I don't really understand the thrust of your question. Are you
attempting to copy the file on the same server using PBHCopyFile? Or
are you manually copying the file by opening it up and then reading
and writing the fork data?<
I am copying the forks manually to work around the 2GB limit in my utility
JES CopyLargeFile (joining parts at the other side).
I could also be creating a large file (adding video samples) over a
network. In this case I would like to know in advance if the file can grow
beyond 2GB.
Would FSAllocateFork do the trick?
Jan.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.