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

Charles

On Aug 12, 2011, at 4:12 PM, Todd Freese wrote:

> That is what I figured. So odd, you would like that something as simple as a 
> file copy with a progress bar would be a highly requested feature...  :-)
> 
> Todd
> 
> 
> On Aug 11, 2011, at 7:06 PM, Gary L. Wade wrote:
> 
>> Not that I've found, and since that API leaked memory from 10.6 to 10.6.6 
>> (fixed in 10.6.7), I even considered writing an observer thread to track 
>> progress—thousands of copy operations add up.
>> 
>> - Gary L. Wade (Sent from my iPhone)
>> 
>> On Aug 11, 2011, at 6:22 PM, Todd Freese <applecocoal...@filmworkers.com> 
>> wrote:
>> 
>>> Is there a Cocoa way in 10.6+ to copy a file with a progress call back? I 
>>> would love to rid my code of calls to FSCopyObjectASync and all of it's 
>>> non-sense. 
>>> 
>>> Thanks!
>>> 
>>> Todd Freese
>>> The Filmworkers Club
>>> 
>>> ______________________________________________________________________
>>> This email has been scanned by the MessageLabs Email Security System.
>>> For more information please visit http://www.messagelabs.com/email 
>> 
>> ______________________________________________________________________
>> This email has been scanned by the MessageLabs Email Security System.
>> For more information please visit http://www.messagelabs.com/email 
>> ______________________________________________________________________
>> 
> 
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
> _______________________________________________
> 
> 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/cocoadev%40charlessoft.com
> 
> This email sent to cocoa...@charlessoft.com

_______________________________________________

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