• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: File Copy With Progress?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Copy With Progress?


  • Subject: Re: File Copy With Progress?
  • From: Charles Srstka <email@hidden>
  • Date: Fri, 12 Aug 2011 17:03:10 -0500

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 <email@hidden> 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 (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

_______________________________________________

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

References: 
 >File Copy With Progress? (From: Todd Freese <email@hidden>)
 >Re: File Copy With Progress? (From: "Gary L. Wade" <email@hidden>)
 >Re: File Copy With Progress? (From: Todd Freese <email@hidden>)

  • Prev by Date: Re: File Copy With Progress?
  • Next by Date: Follow-up on localizing Keychain names
  • Previous by thread: Re: File Copy With Progress?
  • Next by thread: Re: File Copy With Progress?
  • Index(es):
    • Date
    • Thread