• 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:toPath:handler: sometimes it works, sometimes it does not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copyPath:toPath:handler: sometimes it works, sometimes it does not?


  • Subject: copyPath:toPath:handler: sometimes it works, sometimes it does not?
  • From: Stéphane Sudre <email@hidden>
  • Date: Tue, 23 Mar 2004 00:28:35 +0100

I'm seeing some weird things with the following API:

- (BOOL)copyPath:(NSString *)source toPath:(NSString *)destination handler:handler

I'm trying to copy a big folder (200 MB) from one location to another.

1) Folders with the following Name can't be copied: "toto:titi"

The error handler is stating that it "Couldn't create directory"

2) Some files in a folder can't be copied when others can. All the files have the same permissions, owner and group.

The error handler is stating that it "Couldn't create"

I tried to copy the same big folder using cp -RH and the Terminal and it worked flawlessly.

I'm doing all these operations as root.

I'm wondering if this is a known bug or not (I'm using Mac OS X 10.2.8).
_______________________________________________
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:toPath:handler: sometimes it works, sometimes it does not?
      • From: Fritz Anderson <email@hidden>
    • Re: copyPath:toPath:handler: sometimes it works, sometimes it does not?
      • From: Charles Srstka <email@hidden>
  • Prev by Date: declaring a global variable.
  • Next by Date: Fullscreen enter/exit notification
  • Previous by thread: declaring a global variable.
  • Next by thread: Re: copyPath:toPath:handler: sometimes it works, sometimes it does not?
  • Index(es):
    • Date
    • Thread