Hi Tim,

Thanks for the suggestion and you are right.  It appears that this is due to 
setting and not setting proxy server.  With right proxy server setting in 
'.wgetrc', wget works as expected.
Regards,
Logan

-----Original Message-----
From: Tim Ruehsen [mailto:tim.rueh...@gmx.de] 
Sent: Wednesday, January 04, 2017 8:49 AM
To: bug-wget@gnu.org
Cc: Sankaran, Logan (Strategic Solutions Architecture (SSA)) 
<logan.sanka...@hpe.com>
Subject: Re: [Bug-wget] wget from two Linux systems

On Tuesday, January 3, 2017 7:44:07 PM CET Sankaran, Logan (Strategic Solutions 
Architecture (SSA)) wrote:
> When I execute this command on mrcoat, I get only the html file not 
> the actual file I needed.  But in hpchost1, it works as expected. wget 
> --no-check-certificate 
> http://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz
> 
> sankaran@mrcoat cifar10]$  wget -V
> GNU Wget 1.12 built on linux-gnu.
> -rw-r--r-- 1 sankaran ssrv 11847 Jan  3 14:21 cifar-10-binary.tar.gz 
> [sankaran@mrcoat cifar10]$ file cifar-10-binary.tar.gz
> cifar-10-binary.tar.gz: ASCII HTML document text, with very long 
> lines, with CRLF, LF line terminators
> 
> sankaran@hpchost1:~> wget -V
> GNU Wget 1.11.4
> -rw-r--r-- 1 sankaran users 170052171 2009-06-04 15:47 
> cifar-10-binary.tar.gz sankaran@hpchost1:~> file 
> cifar-10-binary.tar.gz
> cifar-10-binary.tar.gz: gzip compressed data, from Unix, last 
> modified: Thu Jun  4 15:46:51 2009
> 
> Any idea why the newer version is not able to get *.gz file ?

Please use option -d to display the HTTP headers.
Guessing: Maybe one system uses a proxy ? Or there might be marginal 
differences in the HTTP request headers.

You might also look into the HTML file, maybe you find something that might 
help you.

Wget 1.18 here downloads correctly the gzipped archive.

Tim

> 
> Thanks.
> Logan
> Logan Sankaran
> HPC Strategist
> Technology and Solutions Centers
> Americas Strategic Solutions Architecture (SSA) Americas Enterprise 
> Group (EG) [cid:image002.png@01D0DB1D.4E7417B0]
> Building/Floor/Post:    H1-2C-29
> 5400  Legacy Drive
> PLANO, Texas 75024
> USA
> 
> Skype:  512-319-0051
> Phone:  972-605-3113
>  logan.sanka...@hpe.com<mailto:logan.sanka...@hpe.com>
> 
> Passion for Performance
> 
> Engage our services by:
> Web:         
> http://engage.presales.hpe.com<http://engage.presales.hpe.com/> (select
> STS/Solution Center Team) E-mail:         t...@hpe.com<mailto:t...@hpe.com>
> 
> HPE and SSA - The WINNING COMBINATION
> 
> [email_footer_tree_text]


  • [Bug-wget] wget f... Sankaran, Logan (Strategic Solutions Architecture (SSA))
    • Re: [Bug-wge... Tim Ruehsen
      • Re: [Bug... Sankaran, Logan (Strategic Solutions Architecture (SSA))

Reply via email to