[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] newer versions of wget broke file download
From: |
Darshit Shah |
Subject: |
Re: [Bug-wget] newer versions of wget broke file download |
Date: |
Mon, 22 Feb 2016 21:21:02 +0100 |
User-agent: |
Mutt/1.5.24+60 (909cf6dd067c) (2015-08-30) |
On 02/22, Tim Paulson wrote:
With wget version 1.10.2 it would successfully download a file from our web
application using the command below.
wget -d -t 3 --http-user=tim --http-passwd=T3stwg3t! --no-check-certificate
https://66.115.223.141/admin/backups/latest
With newer versions of wget for Windows or Linux, the command just downloads
and saves the login page instead of the actual file to be downloaded.
Is there a way to make new versions of wget work like version 1.10.2 did?
See screenshot comparing Windows 1.10.2 vs Linux 1.12 in debug mode
[cid:image001.png@01D16D5D.C35EA180]
The only major difference I see in the two images is that Wget 1.10.* sends the
username and password as Basic Auth by default. While Wget 1.12 waits for the
server to request authorization. To send the authorization without having to
wait for the server to ask, use the `--auth-no-challenge` switch to send basic
credentials by default.
Regards,
Tim Paulson
DCIM Field Service Engineer
Sunbird Software * 200 Cottontail Lane * Somerset, NJ 08873 USA
Office/Cell: 1.605.609.7600
address@hidden<mailto:address@hidden> *
www.SunbirdDCIM.com<http://www.sunbirddcim.com/>
--
Thanking You,
Darshit Shah
signature.asc
Description: PGP signature