通过FTP下载文件遇到问题。(使用wget、curl、aria2c)

3

我在通过FTP (ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635) 下载文件时遇到了问题,这个FTP网站不需要任何凭据,我可以直接在Web浏览器中点击下载。但是,当我尝试将其直接下载到我的集群时,它无法工作。

我尝试使用wget命令:

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

然后遇到这个错误:

--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.

然后我尝试了curl

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

并且收到了以下错误:

550 Failed to open file.

最后,我尝试了aria2c。

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

然后出现了这个错误:

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: 

我相当确定我的集群代理设置是正确的,根据aria2c的错误信息,看起来资源站点已经宕机了,但在Web浏览器中只需点击并下载就可以工作。有人能给我一些关于这个问题的提示吗?非常感谢!

1个回答

1

你只需要简单地将“#”替换为“%23”。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接