Re: How to determine if a file is completely copied?
Re: How to determine if a file is completely copied?
- Subject: Re: How to determine if a file is completely copied?
- From: Dave Carrigan <email@hidden>
- Date: Tue, 17 Feb 2009 08:37:34 -0800
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@hidden
Seattle, WA, USA
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
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