• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
copyPath on different volumes with same name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSTableView
  • Next by Date: Re: Database Applications
  • Previous by thread: NSOutlineView: multi-line entries (i.e. soft wrapped)
  • Next by thread: Re: copyPath on different volumes with same name
  • Index(es):
    • Date
    • Thread