• 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: Copying large files with progress indicator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying large files with progress indicator


  • Subject: Re: Copying large files with progress indicator
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Mon, 31 Jul 2006 18:33:14 -0700


On Jul 31, 2006, at 17:06, Mike Abdullah wrote:

OK, that rather surprises me - why haven't Apple done a decent file copying system in Cocoa yet! Maybe I should file a request.

So, I downloaded MoreFilesX. It's readme says quite a bit about the HFD+ APIs. Am I right in thinking that the code will use the HFS+ if suitable, but that it will still work for non-HFS+ operations?

You might want to look at FSCopyObject; I think it's more modern (and easier to use) than MoreFilesX <http://developer.apple.com/samplecode/ FSCopyObject/index.html>. It loses xattrs on 10.4, though, unfortunately.


If you can require 10.4, take a look at FSCopyObjectAsync, which has a callback for periodic updates. These functions are only documented in the Files.h header, though.

-- Adam

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Copying large files with progress indicator (From: Scott Ribe <email@hidden>)
 >Re: Copying large files with progress indicator (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: NSTabView and edit fields
  • Next by Date: Re: Starting window instead of a new untitled document?
  • Previous by thread: Re: Copying large files with progress indicator
  • Next by thread: Re: NSHelpManager +openHelpAnchor:inBook: Does it work?
  • Index(es):
    • Date
    • Thread