tags:

views:

166

answers:

2

Hi,

I'm trying to download a file from the internet, but I get the error -3001 back. I've been searching through google but the error doesn't appear on any website, so i have no idea what it means.

Can anyone tell me what the error code "NSURLErrorDomain error -3001" means?

Thanks

+1  A: 

I wrote an applescript awhile back that can search the header files for error codes. You can find the applescript here.

I ran that applescript for your error code and got this from the CFNetworkError.h file.

Error Description: kCFURLErrorCannotOpenFile

regulus6633
Thanks! :).now I just gotta figure out why it can't read it...
David Schiefer
+2  A: 

There's also a full list of all NSURL error codes here. It's very handy when you get cryptic error messages from the URL loading system.

Alex
thanks - the applescript did the trick, but the list is useful too :)
David Schiefer
David Schiefer: The documentation also explains what the codes mean, beyond just their names.
Peter Hosey