Re: file done writing?
Re: file done writing?
- Subject: Re: file done writing?
- From: Scott Ribe <email@hidden>
- Date: Sun, 10 Apr 2011 18:53:22 -0600
On Apr 10, 2011, at 5:57 PM, Rainer Standke wrote:
> Is there any way to tell if a file is done being written?
In general, no. There are lots of "maybe kind of" solutions, including trying to open for exclusive access. But there is absolutely no way, nor can there be, to know when to read a file that is being written by another app--which is what I think you're asking for--unless the other app provides some protocol for that.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden