On Feb 17, 2009, at 8:25 AM, Gustavo Vera wrote:

I'm trying to get status info from a file on disk, to be more precise, I
need to know if the file is currently destination of a regular copy
operation. I'm currently working with NSFileManager to get a list of the contents of a specific folder, and when I detect a new file on that folder, I need to process it in certain ways, but before start doing that, I wanna
be sure that the file was completely transferred to that directory.

There really isn't any foolproof way to know this without the cooperation of the program that is putting the file there. In other words, that program needs to alert your program in some way. We would need to know more about the nature of that program before we could give you any help.

--
Dave Carrigan
[email protected]
Seattle, WA, USA

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

Cocoa-dev mailing list ([email protected])

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