On Sun, Nov 7, 2010 at 4:09 PM, gMail.com <mac.iphone....@gmail.com> wrote:

> I have checked FSCopyObjectAsync and the copy works well.
> I can get my callback function called so I can observe the working progress
> as the kFSOperationBytesCompleteKey and kFSOperationTotalBytesKey and get
> the kFSOperationStageComplete status. Well.
>
> But I can't figure out yet how to interrupt the copy.

The first argument you pass to FSCopyObjectAsync() is an
FSFileOperationRef that you created with FSFileOperationCreate(). Pass
that same FSFileOperationRef to FSFileOperationCancel().

sherm--

-- 
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________

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

Reply via email to