• 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: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?


  • Subject: Re: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 24 Aug 2015 15:47:55 -0700


On Aug 24, 2015, at 2:46 PM, Rick Mann <email@hidden> wrote:

A number of my requests are calling didCompleteWithError: with NSPOSIXErrorDomain code 2 "No such file or directory”. 

That error always refers to files in a mounted filesystem; it has nothing to do with HTTP. If it’s being returned to you, there is some _local_ file that’s missing. 

I’ve never used background downloading so I don’t know exactly how the API works, but perhaps you’re giving a path to save the downloaded file to and its parent directory doesn’t exist?

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?
      • From: Rick Mann <email@hidden>
References: 
 >NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task? (From: Rick Mann <email@hidden>)

  • Prev by Date: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?
  • Next by Date: Re: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?
  • Previous by thread: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?
  • Next by thread: Re: NSPOSIXErrorDomain code 2 "No such file or directory" from NSURLSession background download task?
  • Index(es):
    • Date
    • Thread