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

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


  • Subject: Re: copyPath:toPath:handler: sometimes it works, sometimes it does not?
  • From: Charles Srstka <email@hidden>
  • Date: Tue, 23 Mar 2004 03:56:57 -0600

Does it work if you delete the ":" character (actually it will be stored as a '/') out of the file name?

Charles

On Mar 23, 2004, at 1:36 AM, Stiphane Sudre wrote:

On mardi, mars 23, 2004, at 05:29 AM, Charles Srstka wrote:

Are any of the files in the folder sockets or FIFO's? In my experience, copyPath: toPath: handler: chokes on those.

What I do is run through the files and check to make sure they're just normal files before trying to copy them.

No, they are "standard" files. And they don't have a resource fork either as far as I can tell.

Except for the "titi:toto" issue which I think is clearly due to the ':', I first thought the issue was with the length of the path but I'm far away from the 1024 const limit. And some files with the same length for the path name are working fine.
_______________________________________________
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.
_______________________________________________
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.


References: 
 >Re: copyPath:toPath:handler: sometimes it works, sometimes it does not? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: performance tuning
  • Next by Date: Re: NSLocalizedString() doesn't work
  • Previous by thread: Re: copyPath:toPath:handler: sometimes it works, sometimes it does not?
  • Next by thread: Re: copyPath:toPath:handler: sometimes it works, sometimes it does not?
  • Index(es):
    • Date
    • Thread