• 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: File Copy With Progress?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Copy With Progress?


  • Subject: Re: File Copy With Progress?
  • From: Seth Willits <email@hidden>
  • Date: Sun, 14 Aug 2011 13:34:23 -0700

On Aug 12, 2011, at 3:03 PM, Charles Srstka wrote:

> You could use the copyfile() API. It’s not Cocoa, but it might be a little cleaner than FSCopyObjectAsync.

It appears copyfile() doesn't give progress callbacks during a single file's copy?

FSPathCopyObjectAsync isn't too bad. I wrote a wrapper around it which can be both synchronous and asynchronous (to the caller), provides status updates on bytes and files copied, time remaining, etc, and is cancelable. Internally it's not too bad either.



--
Seth Willits



_______________________________________________

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: File Copy With Progress?
      • From: James Walker <email@hidden>
References: 
 >File Copy With Progress? (From: Todd Freese <email@hidden>)
 >Re: File Copy With Progress? (From: "Gary L. Wade" <email@hidden>)
 >Re: File Copy With Progress? (From: Todd Freese <email@hidden>)
 >Re: File Copy With Progress? (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?
  • Next by Date: recomendations for creating a beta with date to expire
  • Previous by thread: Re: File Copy With Progress?
  • Next by thread: Re: File Copy With Progress?
  • Index(es):
    • Date
    • Thread