stringWithContentsOfURL: is deprecated. I suggest using stringWithContentsOfURL:encoding:error: or stringWithContentsOfURL:usedEncoding:error: and logging the error or displaying it with +alertWithError: so those users can tell you the exact reason for failure. It might help to print the URL being passed so you are absolutely sure it's the URL you think it is.
--Andy On Sep 17, 2010, at 8:47 AM, gMail.com wrote: > Hi, > which port must be open on the Mac in order to get a response from the > server when calling stringWithContentsOfURL ? > My method calls a small file posted on my web site, so the path is a > http://www... > It works pretty well, but some of my clients say that they get a nil > response, even if they can properly reach my web site with Safari. So I > presume they have some port closed on their machine. Or can be the firewall? > > Thank you > -- > Leonardo _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com