hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drake Henderson" <dhender...@winterheights.com>
Subject RE: download a file
Date Tue, 18 Mar 2003 02:15:04 GMT
I turned on logging.  Looks like I am going to port 80.  The url I am using
is for a different port: www.XXX.com:####  I assumed that the system would
pick the port out of the url.  Perhaps not.  I have started looking through
the api to figure out how to change ports.

Drake

-----Original Message-----
From: Adrian Sutton [mailto:adrian.sutton@ephox.com]
Sent: Monday, March 17, 2003 7:22 PM
To: 'Commons HttpClient Project'
Subject: RE: download a file


Hi Drake,
Could you provide us with a Wire trace log so we can see what's going on.
Take a look at http://jakarta.apache.org/commons/httpclient/logging.html for
details.  Also, a test case showing the problem would be ideal.  There are
more hints on trouble shooting at
http://jakarta.apache.org/commons/httpclient/troubleshooting.html  Seeing a
trace of the browser talking to the server may also be useful.  You can
obtain this with tools such as the Proximatron or any standard packet
sniffer.

Once we get some more detail we should be able to provide more help.

Adrian Sutton, Software Engineer
Ephox Corporation
www.ephox.com


-----Original Message-----
From: Drake Henderson [mailto:dhenderson@winterheights.com]
Sent: Tuesday, 18 March 2003 10:15 AM
To: Commons HttpClient Project
Subject: RE: download a file


More info:

The 401 (unauthorized) went away when I switched back to https and added
credentials to the url; however, now the program hangs at the executeMethod
call.  Eventually, the remote host closes the connection.

-----Original Message-----
From: Drake Henderson [mailto:dhenderson@winterheights.com]
Sent: Monday, March 17, 2003 7:06 PM
To: commons-httpclient-dev@jakarta.apache.org
Subject: download a file


Hello all,

I am attempting to execute a get url to an isp server which backs up a web
site's database.  In a browser, the url downloads the gzipped database sql
file.  However, the httpclient returns 401.

Is it possible to use httpclient in this fashion?

Thanks,

Drake


---------------------------------------------------------------------
To unsubscribe, e-mail:
commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail:
commons-httpclient-dev-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail:
commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail:
commons-httpclient-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail:
commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail:
commons-httpclient-dev-help@jakarta.apache.org




Mime
View raw message