• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: noCacheMask not working on iDisk?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >noCacheMask not working on iDisk? (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Re: Pipes and helper tool
  • Next by Date: Re: Invisible Files (email@hidden)
  • Previous by thread: noCacheMask not working on iDisk?
  • Next by thread: Re: Strange problem showing a window
  • Index(es):
    • Date
    • Thread