I copy a 14GB file with - (BOOL)copyItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath error:(NSError **)error Since the copy could take several minutes, I would grant the user the opportunity to interrupt the copy pressing a given button. Is a way to tell copyItemAtPath to break the job and return? Maybe something similar to a delegate method like shouldProceedAfterError, but occurring at any chunk copied?
Or should I use the latest methods from FSCopyObject.c ? A couple of years ago I used FSCopyObject.c to copy files (and I added the way to break the copy at a given moment), but as I recall, that code (I think from the year 2002) didn't copy metadata, the BSD flags, the ACL attributes and ACL Extended attributes. Is an updated version of this code? -- Leo _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com