• 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 and FilePackages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copyPath and FilePackages


  • Subject: Re: copyPath and FilePackages
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 14 Jun 2002 10:56:43 -0700

On Wed, 12 Jun 2002 19:51:17 +0200, Lorenzo Puleo <email@hidden> said:

>
>Hi,
>I used the API
>ok = [[NSFileManager defaultManager] copyPath:source toPath:dest
>handler:nil];
>Where "source" is the application filePackage "Acrobat Reader 5.0".
>I was surprised to see that, once the copy has been created, the "dest" is a
>*Folder* with the same folderName and same bytes of the source. Instead it
>should be a filePackage.
>I run as root with MacOS X 10.1.2 on a PowerBook G3 bronze keyboard, 320MB
>of RAM, and I compile with PB 1.1.1.
>
>It's a MacOS X bug? Other filePackages like "iTunes" or "Chess" have been
>copied well so the destination files are filePackages too.
>If it's not a MacOS X bug, how could I detect this inconvenient and fix it?

Right - this is exactly the same problem I complained of here:

http://cocoa.mamasam.com/COCOADEV/2002/05/2/35111.php

We are both writing folder synchronization utilities, so we are both
hitting the same problems. m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes 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 and FilePackages
      • From: Umed Zokirov <email@hidden>
  • Prev by Date: Re: Object from TableView cell
  • Next by Date: Re: NSOutlineView doesn't flush cache?
  • Previous by thread: Re: copyPath and FilePackages
  • Next by thread: Re: copyPath and FilePackages
  • Index(es):
    • Date
    • Thread