Re: File Copy With Progress?
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