简体   繁体   English

通过 FTP 下载文件时遇到问题。 (wget,curl,aria2c)

[英]Having trouble downloading a file through FTP. (wget, curl, aria2c)

I am having trouble downloading a file through FTP ( ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635 ), this FTP site doesn't require any credential and I can download it directly by clicking it in my web browser. I am having trouble downloading a file through FTP ( ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635 ), this FTP site doesn't require any credential and I can download在我的 web 浏览器中直接单击它。 But when I tried to download it directly to my cluster, it doesn't work.但是当我尝试将它直接下载到我的集群时,它不起作用。

I tried wget:我试过wget:

wget ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635/OvCa100_classII_Rep#1.raw

And get this error:并得到这个错误:

--2020-08-01 18:35:22--  ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635/OvCa100_classII_Rep
Resolving bmiproxyp.chmcres.cchmc.org (bmiproxyp.chmcres.cchmc.org)... 10.199.92.254
Connecting to bmiproxyp.chmcres.cchmc.org (bmiproxyp.chmcres.cchmc.org)|10.199.92.254|:80... connected.
Proxy request sent, awaiting response... 404 Not Found
2020-08-01 18:35:23 ERROR 404: Not Found.

Then I tried curl然后我尝试了 curl

curl -O ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635/OvCa100_classII_Rep#1.raw

And get this error:并得到这个错误:

550 Failed to open file.

Finally I tried aria2c最后我尝试了 aria2c

aria2c ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635/OvCa100_classII_Rep#1.raw

And get this error:并得到这个错误:

08/01 18:38:03 [ERROR] CUID#7 - Download aborted. URI=ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635/OvCa100_classII_Rep#1.raw
Exception: [AbstractCommand.cc:351] errorCode=3 URI=ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635/OvCa100_classII_Rep
  -> [HttpSkipResponseCommand.cc:219] errorCode=3 Resource not found

08/01 18:38:03 [NOTICE] Download GID#9476c1bde9a8def1 not complete: 

I am quite sure my cluster proxy setting is correct and based on aria2c error info, it seems like the resource site is down, but it works by just clicking and downloading in web browser.我很确定我的集群代理设置是正确的,并且基于 aria2c 错误信息,资源站点似乎已关闭,但只需在 web 浏览器中单击并下载即可。 Would anyone give me any hint about that?有人会给我任何暗示吗? Much appreciated!非常感激!

You just need to simply replace "#" with "%23".您只需将“#”简单地替换为“%23”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM