Re: Ports for stringWithContentsOfURL

2010-09-23 Thread gMail.com
ta: Fri, 17 Sep 2010 08:58:29 -0400 > A: "gMail.com" > Cc: > Oggetto: Re: Ports for stringWithContentsOfURL > > stringWithContentsOfURL: is deprecated. I suggest using > stringWithContentsOfURL:encoding:error: or > stringWithContentsOfURL:usedEncoding:error: and logging

Re: Ports for stringWithContentsOfURL

2010-09-17 Thread Andy Lee
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

Ports for stringWithContentsOfURL

2010-09-17 Thread gMail.com
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