Re: noCacheMask not working on iDisk?
Re: noCacheMask not working on iDisk?
- Subject: Re: noCacheMask not working on iDisk?
- From: Mike Shields <email@hidden>
- Date: Fri, 7 Feb 2003 15:31:08 -0800
This is because of how the WebDAV filesystem works. What you're
actually doing is writing to a local copy of the file. Since HTTP PUT
doesn't support writing partial files, it waits until the file is
closed before writing it to the remote WebDAV disk - otherwise on every
write to the local file you'd write the whole file out over the network.
Mike
On Friday, February 7, 2003, at 02:12 AM, Steve Gehrman wrote:
I'm writing a file to an iDisk mounted with webdav.
I'm making multiple calls in a loop using...
osErr = FSWriteFork(destRef, fsAtMark + noCacheMask, 0,
bytesToWriteThisTime, copyParams->copyBuffer, NULL);
but the data doesn't get sent over the internet until I close the
fork...
osErr2 = FSCloseFork(sourceRef);
Isn't noCacheMask suppose to force the write to happen right away
rather than having it cached until the fork is closed?
Thanks,
-steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.