Re: file done writing?
Re: file done writing?
- Subject: Re: file done writing?
- From: Rainer Standke <email@hidden>
- Date: Tue, 12 Apr 2011 08:54:52 -0700
Thanks for pointing these out, Uli. Are those classes youhave on github newer than, let's say, UKKQueue on you website at http://zathras.de/angelweb/sourcecode.htm?
Rainer
On Apr 12, 2011, at 0:44, Uli Kusterer wrote:
> On 11.04.2011, at 07:18, Gary L. Wade wrote:
>> You might find the
>> FSEvents mechanism something to consider if you're watching a dump folder
>> where the originator application is something you have no control over.
>> There are also very-Darwin-level mechanisms for seeing if a file is open,
>> but those are not guaranteed to remain the same from one patch release to
>> the next.
>
> There's also the BSD kqueue mechanism, You could use this to watch the parent folder, and once you find your file hasn't changed in a while, assume it's done and just try using it.
>
> I have a bunch of file watching classes (for FSEvents, FNNotify and KQueue) at http://www.github.com/uliwitness/UliKit
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.de
>
>
>
> _______________________________________________
>
> 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
_______________________________________________
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