You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Drake Henderson <dh...@winterheights.com> on 2003/03/18 01:06:28 UTC

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


RE: download a file

Posted by Drake Henderson <dh...@winterheights.com>.
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