copyPath:toPath:handler: sometimes it works, sometimes it does not?
copyPath:toPath:handler: sometimes it works, sometimes it does not?
- Subject: copyPath:toPath:handler: sometimes it works, sometimes it does not?
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 23 Mar 2004 00:28:35 +0100
I'm seeing some weird things with the following API:
- (BOOL)copyPath:(NSString *)source toPath:(NSString *)destination
handler:handler
I'm trying to copy a big folder (200 MB) from one location to another.
1) Folders with the following Name can't be copied: "toto:titi"
The error handler is stating that it "Couldn't create directory"
2) Some files in a folder can't be copied when others can. All the
files have the same permissions, owner and group.
The error handler is stating that it "Couldn't create"
I tried to copy the same big folder using cp -RH and the Terminal and
it worked flawlessly.
I'm doing all these operations as root.
I'm wondering if this is a known bug or not (I'm using Mac OS X 10.2.8).
_______________________________________________
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.