I'm having troubles uploading files to a password protected URL.
Could you please tell me what happens, based on the following console log:
Code: Select all
[DEBUG] HttpConnection - Open connection to localhost:80
[DEBUG] header - >> "HEAD /script.php HTT/P/1.1[\r][\n]"
[DEBUG] HttpMethodBase - Adding Host request header
[DEBUG] header - >> "User-Agent: JFileUpload[\r][\n]"
[DEBUG] header - >> "Host: localhost[\r][\n]"
[DEBUG] header - >> "[\r][\n]"
[DEBUG] header - << "HTT/P/1.1 401 Authorization Required[\r][\n]"
[DEBUG] header - << "HTT/P/1.1 401 Authorization Required[\r][\n]"
[DEBUG] header - << "Date: Wed, 22 Apr 2009 09:33:21 GMT[\r][\n]"
[DEBUG] header - << "Server: Apache/2.2.11 (Win32) PHP/5.2.9-1[\r][\n]"
[DEBUG] header - << "WWW-Authenticate: Basic realm="REALM"[\r][\n]"
[DEBUG] header - << "Content-Type: text/html; charset=iso-8859-1[\r][\n]"
[DEBUG] header - << "[\r][\n]"
[DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy
[DEBUG] HttpMethodBase - Should NOT close connection, using HTT/P/1.1
[DEBUG] HttpConnection - Connection is locked. Call to releaseConnection() ignored.
[DEBUG] HttpMethodDirector - Authorization required
[DEBUG] AuthChallengeProcessor - Supported authentication schemes in the order of preference: [ntlm, digest, basic]
[DEBUG] AuthChallengeProcessor - Challenge for ntlm authentication scheme not available
[DEBUG] AuthChallengeProcessor - Challenge for digest authentication scheme not available
[INFO] AuthChallengeProcessor - basic authentication scheme selected
[DEBUG] AuthChallengeProcessor - Using authentication scheme: basic
[DEBUG] AuthChallengeProcessor - Authorization challenge processed
[DEBUG] HttpMethodDirector - Authentication scope: BASIC 'REALM'@localhost:80
[DEBUG] HttpMethodDirector - Credentials required
[DEBUG] HttpMethodDirector - Credentials provider not available
[INFO] HttpMethodDirector - No credentials available for BASIC 'REALM'@localhost:80
Thanks,
Vlad
P.S. This forum has a problem, I cannot post new messages with the "HTT/P" (without the slash) word.