Re: Notification of file system modification arrives too early?
Re: Notification of file system modification arrives too early?
- Subject: Re: Notification of file system modification arrives too early?
- From: Antonio Nunes <email@hidden>
- Date: Fri, 28 May 2010 14:57:03 +0100
On 28 May 2010, at 12:07, Uli Kusterer wrote:
> Are you doing this for Finder-originated copying only? In this case, you could probably look at the file's OSType/creator. I believe they get set to some special "busy"-values during copying, so if you get a write notification and your file has that type, you *know* it's not intended to be processed yet.
I expect many of the files will arrive in the watched folder either through user manipulation in the Finder or through scripts/automation. I don't think I can assume only Finder-originated copying.
António
-----------------------------------------
Perfume is the forgiveness
that the trampled flower casts
upon the heel that crushes it.
-----------------------------------------
_______________________________________________
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