copyPath on different volumes with same name
copyPath on different volumes with same name
- Subject: copyPath on different volumes with same name
- From: Lorenzo Puleo <email@hidden>
- Date: Mon, 27 May 2002 22:38:56 +0200
Hi,
I have to copy a file from the volume "A" placed on the server "X"
to the volume "A" placed on the server "Y".
I would like to use the API
[manager copyPath:source toPath:dest handler:nil];
But every time I pick the two files' pathnames using the APIs
oPanel = [NSOpenPanel openPanel];
result = [oPanel runModalForDirectory:theDirBase file:nil types:nil];
filesToOpen = [oPanel filenames];
source = [filesToOpen objectAtIndex:0];
I get the same pathName for both the files
/Volumes/A/myFile.rtf
So, how should I have to copy the file?
Any assistance would be gratly appreciated. Thank you.
--
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.