• 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: James Walker <email@hidden>
  • Date: Mon, 15 Aug 2011 12:03:56 -0700

On 8/14/2011 1:34 PM, Seth Willits wrote:

On Aug 12, 2011, at 3:03 PM, Charles Srstka wrote:

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

It appears copyfile() doesn't give progress callbacks during a single file's copy?

The man page says it will call the callback after each write, but there is no way to set the buffer size. So maybe there will be progress callbacks if the file is big enough.



-- James W. Walker, Innoventive Software LLC <http://www.frameforge3d.com/> _______________________________________________

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>)
 >Re: File Copy With Progress? (From: Charles Srstka <email@hidden>)
 >Re: File Copy With Progress? (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: compiling app for 10.6 and 10.7
  • Next by Date: Re: Properly wrapping non-contiguous NSTextViews
  • Previous by thread: Re: File Copy With Progress?
  • Next by thread: Re: File Copy With Progress?
  • Index(es):
    • Date
    • Thread