• 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
Re: copyPath on different volumes with same name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copyPath on different volumes with same name


  • Subject: Re: copyPath on different volumes with same name
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 29 May 2002 09:55:48 -0700

On Tue, 28 May 2002 09:15:12 -0400, Jim Correia <email@hidden> said:

>> On Mon, 27 May 2002 22:38:56 +0200, Lorenzo Puleo
>> <email@hidden> said:
>>
>>> 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];

>There should not be a problem using NSFileManager to do this copy.
>Even in the case that two volumes have the same user visible name,
>their POSIX path (the mount point in /Volumes) will have been made
>unique.

So you're saying that if I use a Cocoa way of getting a pathname for this
file inside X's A - let's say, for example, that I drag-and-drop a file
inside X's A onto my app - that I will get a different NSString than if I
do the same thing with a file that has the same name but is inside Y's A?
In other words, they will not both be

/Volumes/A/myFileName

Is that what you're saying?

m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Follow-Ups:
    • Re: copyPath on different volumes with same name
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: NSTableView
  • Next by Date: first attempt at delegation failing
  • Previous by thread: Re: copyPath on different volumes with same name
  • Next by thread: Re: copyPath on different volumes with same name
  • Index(es):
    • Date
    • Thread