7

我的帐户下的服务器上有一个文件,我需要下载它。假设 url 是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

4

0 回答 0