stringWithContentsOfURL returns nil
stringWithContentsOfURL returns nil
- Subject: stringWithContentsOfURL returns nil
- From: <email@hidden>
- Date: Tue, 05 Feb 2008 20:06:07 +0100
Hi,
one of my client, only one, gets a null string from the API
stringWithContentsOfURL. His firewall is off.
NSError *error = nil;
NSString *aStr = [NSString stringWithContentsOfURL:aURL
encoding:NSASCIIStringEncoding error:&error];
The error description is
"File could not be opened." Domain=NSCocoaErrorDomain Code=256
UserInfo={}
How can I detect and fix the trouble?
Should I look into his modem settings? He uses airport extreme.
I have no idea about the solution. Thanks.
Best Regards
--
Lorenzo
email: 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