• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to determine if a file is completely copied?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to determine if a file is completely copied?
      • From: Gustavo Vera <email@hidden>
References: 
 >How to determine if a file is completely copied? (From: Gustavo Vera <email@hidden>)

  • Prev by Date: Re: Still can't get NSFormatter working....
  • Next by Date: Re: How to determine if a file is completely copied?
  • Previous by thread: How to determine if a file is completely copied?
  • Next by thread: Re: How to determine if a file is completely copied?
  • Index(es):
    • Date
    • Thread