Re: copyPath and performFileOperation
Re: copyPath and performFileOperation
- Subject: Re: copyPath and performFileOperation
- From: Michael Tsai <email@hidden>
- Date: Mon, 27 Jan 2003 14:05:53 -0500
On Monday, January 27, 2003, at 12:30 PM, Lorenzo Puleo wrote:
I noted that the API "copyPath" and "performFileOperation" cannot copy
some
file that the Finder can copy properly.
What should I do? Is it an APIs' bug?
In my experience, copyPath (which I assume is what performFileOperation
calls down to) is less capable on 10.2 than on 10.1, and in neither
case does it preserve Mac metadata. On 10.2, I use ditto (via NSTask)
to copy files and folders. It's the best method I've found (and can
handle the filenames you mention), but it's still not as capable as the
Finder in that it doesn't preserve all of the Finder views information.
I think performFileOperation (at least) should "do what the Finder
does," so I'd encourage you to file a bug.
--Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.