Re: copyPath on different volumes with same name
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.