copyPath and FilePackages
copyPath and FilePackages
- Subject: copyPath and FilePackages
- From: Lorenzo Puleo <email@hidden>
- Date: Wed, 12 Jun 2002 19:51:17 +0200
Hi,
I used the API
ok = [[NSFileManager defaultManager] copyPath:source toPath:dest
handler:nil];
Where "source" is the application filePackage "Acrobat Reader 5.0".
I was surprised to see that, once the copy has been created, the "dest" is a
*Folder* with the same folderName and same bytes of the source. Instead it
should be a filePackage.
I run as root with MacOS X 10.1.2 on a PowerBook G3 bronze keyboard, 320MB
of RAM, and I compile with PB 1.1.1.
It's a MacOS X bug? Other filePackages like "iTunes" or "Chess" have been
copied well so the destination files are filePackages too.
If it's not a MacOS X bug, how could I detect this inconvenient and fix it?
Any assistance would be appreciated. Thanks.
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
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.