Hello everyone,
I have a password-protected directory on a running server. I would like to download some file(s) from this directory (using a URL) to the Documents directory of my iPad application. How do I send the password of the directory I am trying to access?
views:
51answers:
1
+1
A:
Use NSURLConnection
. If the server asks for a password, the connection's delegate will be sent a -connection:didReceiveAuthenticationChallenge:
message. Use it to supply password to the server and continue the download.
Mike Abdullah
2010-08-11 09:49:15