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

copyPath and FilePackages


  • Subject: copyPath and FilePackages
  • From: Lorenzo Puleo <email@hidden>
  • Date: Wed, 12 Jun 2002 19:51:17 +0200

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?

Any assistance would be appreciated. Thanks.

--
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.

  • Follow-Ups:
    • Re: copyPath and FilePackages
      • From: Matt Judy <email@hidden>
    • Re: copyPath and FilePackages
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: load a NIB from NSData
  • Next by Date: Re: -[NSResponder flagsChanged:] not called?
  • Previous by thread: Pop Up Button in Toolbar Trouble
  • Next by thread: Re: copyPath and FilePackages
  • Index(es):
    • Date
    • Thread