DirWatch
DirWatch
- Subject: DirWatch
- From: Lorenzo <email@hidden>
- Date: Fri, 23 May 2008 00:32:19 +0200
Hi,
I need to watch at a given folder and check whenever a new file has been
copied therein. At the beginning, I fired a timer periodically getting the
list of the contents of that folder with
directoryContentsAtPath
But soon I discovered that the list includes files still in copying (not yet
the whole file). So I switched to
NewFNSubscriptionUPP
FNSubscribe
Here I get the notification only "after" a file has been totally copied into
the folder, but I can't yet find the way to know which file has been copied.
Do you know how to get that info? Thanks.
Best Regards
--
Lorenzo
email: 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