使用wget和https挂起获取文件时挂起

时间:2018-07-27 03:38:29

标签: wget

我一直在使用以下命令在树莓派上获取文件:

wget http://services.wlw.winlink.org/listings/RmsPactorListing.aspx?serviceCodes=PUBLIC

链接现在映射到https位置,但是wget挂起:

wget http://services.wlw.winlink.org/listings/RmsPactorListing.aspx?serviceCodes=PUBLIC
--2018-07-26 22:17:40--  
http://services.wlw.winlink.org/listings/RmsPactorListing.aspx? serviceCodes=PUBLIC
Resolving services.wlw.winlink.org (services.wlw.winlink.org)... 
104.27.129.143, 104.27.128.143, 2400:cb00:2048:1::681b:8
08f, ...
Connecting to services.wlw.winlink.org 
(services.wlw.winlink.org)|104.27.129.143|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: 
https://cms.winlink.org:444/listings/RmsPactorListing.aspx 
[following]
--2018-07-26 22:17:41--  
https://cms.winlink.org:444/listings/RmsPactorListing.aspx
Resolving cms.winlink.org (cms.winlink.org)... 52.55.74.23, 
52.205.46.246
Connecting to cms.winlink.org 
(cms.winlink.org)|52.55.74.23|:444...

我猜想对https的更改会引起问题,但我不知道如何使它工作。如果在wget命令中使用新链接,则会出现相同的挂起。

$ wget https://cms.winlink.org:444/listings/RmsPactorListing.aspx?serviceCodes=PUBLIC
--2018-07-26 22:34:43--  
https://cms.winlink.org:444/listings/RmsPactorListing.asp?serviceCodes=PUBLIC
Resolving cms.winlink.org (cms.winlink.org)... 52.205.46.246, 
52.55.74.23
Connecting to cms.winlink.org 
(cms.winlink.org)|52.205.46.246|:444...

有什么想法吗?

0 个答案:

没有答案