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 PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to