[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] A strange issue when using wget on ssh remote host.
From: |
Hongyi Zhao |
Subject: |
[Bug-wget] A strange issue when using wget on ssh remote host. |
Date: |
Fri, 27 Jul 2012 22:02:31 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
Hi all,
I can use wget to download on my localhost with the following command:
------------
address@hidden:~$ wget -c http://registrationcenter-download.intel.com/
akdlm/irc_nas/2699/parallel_studio_xe_2011_sp1_update3_intel64.tgz
--2012-07-27 17:47:33-- http://registrationcenter-download.intel.com/
akdlm/irc_nas/2699/parallel_studio_xe_2011_sp1_update3_intel64.tgz
Resolving registrationcenter-download.intel.com... 204.2.133.64,
204.2.133.19
Connecting to registrationcenter-download.intel.com|204.2.133.64|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 1099634538 (1.0G) [application/x-compressed]
Saving to: “parallel_studio_xe_2011_sp1_update3_intel64.tgz”
0% [ ] 3,604,497 212K/s eta
86m 21s
-----------------
But, when I ssh'ed to the remote HPC of my university and then run the
same command as mentioned0 above, I'll meet the following issue:
-------------
address@hidden:~> wget -c http://registrationcenter-
download.intel.com/akdlm/irc_nas/2699/
parallel_studio_xe_2011_sp1_update3_intel64.tgz
--2012-07-28 02:50:45-- http://registrationcenter-download.intel.com/
akdlm/irc_nas/2699/parallel_studio_xe_2011_sp1_update3_intel64.tgz
Resolving registrationcenter-download.intel.com... 204.2.133.19,
204.2.133.64
Connecting to registrationcenter-download.intel.com|204.2.133.19|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `parallel_studio_xe_2011_sp1_update3_intel64.tgz'
[ <=> ] 194 --.-K/s in
0s
2012-07-28 02:50:46 (37.0 MB/s) -
`parallel_studio_xe_2011_sp1_update3_intel64.tgz' saved [194]
--------------
As you can see, in the later case, the destination file was incorrectly
identified as "unspecified [text/html]" file, so wget exit immediately.
Furthermore, I use the "wget --spider" to test the URL on local and the
remote ssh host respectively, and I obtain the different results:
1- On my local host
--------------------------
address@hidden:~$ wget --spider http://registrationcenter-
download.intel.com/akdlm/irc_nas/2699/
parallel_studio_xe_2011_sp1_update3_intel64.tgz
Spider mode enabled. Check if remote file exists.
--2012-07-27 18:02:06-- http://registrationcenter-download.intel.com/
akdlm/irc_nas/2699/parallel_studio_xe_2011_sp1_update3_intel64.tgz
Resolving registrationcenter-download.intel.com... 204.2.133.19,
204.2.133.64
Connecting to registrationcenter-download.intel.com|204.2.133.19|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 1099634538 (1.0G) [application/x-compressed]
Remote file exists.
--------------------------
2- On ssh remote host:
--------------
address@hidden:~> wget --spider http://registrationcenter-
download.intel.com/akdlm/irc_nas/2699/
parallel_studio_xe_2011_sp1_update3_intel64.tgz
Spider mode enabled. Check if remote file exists.
--2012-07-28 03:05:19-- http://registrationcenter-download.intel.com/
akdlm/irc_nas/2699/parallel_studio_xe_2011_sp1_update3_intel64.tgz
Resolving registrationcenter-download.intel.com... 204.2.133.19,
204.2.133.64
Connecting to registrationcenter-download.intel.com|204.2.133.19|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
---------------
Why does this happen? Could someone please give me some hints?
Regards
--
Hongyi Zhao <address@hidden>
Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493
- [Bug-wget] A strange issue when using wget on ssh remote host.,
Hongyi Zhao <=