Hi,
I have been trying to use wget to download a file from a
https site that requires a user name and password. The additional
complexity is that our company also uses a proxy server, for which a user name
and password are required. The command I am giving is as follows:
wget https://website/file.zip
--proxy-user=<my HTTP proxy user name> --proxy-passwd=<my http proxy
password> --proxy=on -- http-user=<HTTP user name>
--http-passwd=<HTTP password>
I was using wget1.9.1, but, as mentioned in one of the
mailing lists, this version did not have proper support for a https proxy.
I then downloaded the latest CVS version: 1.9+cvs-dev-200404081407 and
created an environment variable called https_proxy where I specified the name
of our proxy server (along with the port). Now wget is able to connect to
our proxy server, and send out a request, to the website using https, but it
always gets a 404 Not Found error. However, we are able to download the
same file if we try accessing the web page through a browser window such as
IE. My doubt is, will the options http-user and http-passwd apply for
https as well? Does wget have support for a https-user and https-passwd,
while using https through a proxy server that also requires a user name and
password?
I hope my question wasn’t too confusing!
We’d really appreciate a quick reply – thanks in
advance!
Regards,
Josephine.
|
|
|