• 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: "Operation could not be completed. No such file or directory"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Operation could not be completed. No such file or directory"


  • Subject: Re: "Operation could not be completed. No such file or directory"
  • From: Kevin Perry <email@hidden>
  • Date: Tue, 13 Apr 2010 11:43:07 -0700

It's referring to the source path. The documentation specifically states that no file should exist at the destination path. So, one can deduce that NSFileManager wouldn't report a "no such file" error if there was no file there, since that is what is expected.

-Kevin

On Apr 13, 2010, at 11:31 AM, email@hidden wrote:

> Using NSFileManager I get the error messaged referenced in the Subject Line.
>
> But, which is it referring to ... the copyItemAtPath or the toPath
>
> bool rtx2 = [[NSFileManager defaultManager] copyItemAtPath:prefsrcpath toPath:prefdstpath error:&error];
>
> -koko
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: "Operation could not be completed. No such file or directory"
      • From: Jens Alfke <email@hidden>
    • Re: "Operation could not be completed. No such file or directory"
      • From: email@hidden
References: 
 >"Operation could not be completed. No such file or directory" (From: email@hidden)

  • Prev by Date: "Operation could not be completed. No such file or directory"
  • Next by Date: Re: "Operation could not be completed. No such file or directory"
  • Previous by thread: "Operation could not be completed. No such file or directory"
  • Next by thread: Re: "Operation could not be completed. No such file or directory"
  • Index(es):
    • Date
    • Thread