从带有身份验证的服务器下载aria2

时间:2014-11-23 00:46:38

标签: download wget aria2

我的帐户下的服务器上有一个文件,我需要下载它。我们假设网址是http://my.server/files/myfile。我需要使用用户名和密码进行身份验证。我可以使用wget执行此操作,如下所示

 wget http://username:password@my.server/files/myfile

它有效。但是,使用aria2

尝试相同的操作
 aria2c http://username:password@my.server/files/myfile

失败并显示错误消息

-> [HttpSkipResponseCommand.cc:211] errorCode=24 Authorization failed.

有没有办法解决这个问题?我也尝试了--http-user--http-passwd选项而没有运气。

0 个答案:

没有答案