> On Aug 24, 2015, at 15:47 , Jens Alfke <j...@mooseyard.com> wrote:
> 
> 
>> On Aug 24, 2015, at 2:46 PM, Rick Mann <rm...@latencyzero.com> 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?

No, it decides where to save the local file. I agree that should be a local 
error, but who knows what NSURLSession wants to return?


-- 
Rick Mann
rm...@latencyzero.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to