Hi all, I can use wget to download on my localhost with the following command:
------------ werner@debian:~$ 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: ------------- zhaohongsheng@node32:~> 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 -------------------------- werner@debian:~$ 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: -------------- zhaohongsheng@node32:~> 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 <[email protected]> Institute of Semiconductors, Chinese Academy of Sciences GnuPG DSA: 0xD108493
