Re: Interrupt copyItemAtPath
Re: Interrupt copyItemAtPath
- Subject: Re: Interrupt copyItemAtPath
- From: Ken Thomases <email@hidden>
- Date: Sat, 6 Nov 2010 20:29:43 -0500
On Nov 6, 2010, at 5:27 PM, gMail.com wrote:
> I copy a 14GB file with
> Since the copy could take several minutes, I would grant the user the
> opportunity to interrupt the copy pressing a given button.
> Or should I use the latest methods from FSCopyObject.c ?
FSCopyObject.c? From Apple's sample code? I think that's very outdated.
Are you aware of the FSCopyObjectAsync API in the File Manager? That sounds like what you should be using. I don't know for sure, but I'd be very surprised if it didn't copy all the appropriate file metadata.
Cheers,
Ken
_______________________________________________
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