• 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: Tue, 28 May 2002 05:19:21 -0700

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];

Yes, I have been wondering about this too. It seems to me that you're not
going to be able to use that API - that you're going to have to do the
whole thing in Carbon.

<rant>
In the whole area of file handling, Cocoa throws away much of the brilliant
technology developed over the years at Apple. Here we have a very clear and
powerful way to distinguish volumes with the same name (the vRefNum), and
Cocoa ignores this in favor of pathnames. There's a reason why Apple
abandoned pathnames years ago, and this is part of that reason.
</rant>

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: File path from image drag and drop
  • Next by Date: Re: Opening the Trash in the Finder?
  • Previous by thread: copyPath on different volumes with same name
  • Next by thread: Re: copyPath on different volumes with same name
  • Index(es):
    • Date
    • Thread