Version: 1.0

Posted: 2005-06-06

Build Requirements: N/A

Runtime Requirements: Mac OS X 10.4

View Source Code:

Download Sample (“FSFileOperation.zip”, 18.3K)
Download Sample (“FSFileOperation.dmg”, 78.1K)



Description

This sample shows how to copy and move both files and folders. It shows both the synchronous and asynchronous (using CFRunLoop) use of the FSFileOperation APIs. In addition, it shows path and FSRef variants of the API and how to get status out of the callbacks. The API is conceptually similar to the FSVolumeOperation APIs introduced in Mac OS X 10.2.

Document Revision History

Date Notes
2005-06-06This sample shows how to use the FSFileOperation API which supports copying and moving filesystem objects.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.