• 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: Gustavo Vera <email@hidden>
  • Date: Tue, 17 Feb 2009 15:01:14 -0200

That program is the Finder, but could be any other program capable of
writing files to disk. Those programs will be running in any other machine
in the lan most of the time. I don't know if this is of any help, but my
test case files vary in size from just 30 KB to 320 MB, and probably could
be even bigger.

Thanks in advance!

This make things harder?

On Tue, Feb 17, 2009 at 2:37 PM, Dave Carrigan <email@hidden> wrote:

>
> 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
>
>
_______________________________________________

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: Dave Carrigan <email@hidden>
References: 
 >How to determine if a file is completely copied? (From: Gustavo Vera <email@hidden>)
 >Re: How to determine if a file is completely copied? (From: Dave Carrigan <email@hidden>)

  • Prev by Date: Re: How to determine if a file is completely copied?
  • Next by Date: Re: How to determine if a file is completely copied?
  • Previous by thread: Re: 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