Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
FSCopyObject
Last Revision: | Version 1.5, 2004-03-19 Fixed issue where a zero length object would be created when the current user did not have proper permissions to the source object or when there was not enough disk space to create the new object object |
Build Requirements: | Xcode, ProjectBuilder or CodeWarrior |
Runtime Requirements: | Mac OS 9 and Mac OS X |
Contains source to demonstrate how to copy/delete files and folders with HFS+ APIs. It also demonstrates a technique to rename an object if an object of the same name exists in the destination.
This sample shows how to perform these operations in an MP-safe way.
Copyright © 2004 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2004-03-19