ARIA2C 和基本身份验证 WGET 工作的问题

ARIA2C 和基本身份验证 WGET 工作的问题

我在使用 aria2c 进行基本 http 身份验证时遇到一些问题。 Wget 工作完美,但我想使用 arias 多线程功能

!!link!! = https://www.site.com/directory/name

在 WGET 中有效的命令:

wget --user=username --password=123password# !!link!!/file.txt

在 aria2c 中不起作用的命令:

aria2c --log=arialog --http-user=username --http-passwd=123password# --check-certificate=false !!link!!/file.txt

收到的错误是

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

在日志中,服务器返回的响应是:

HTTP/1.1 401 Unauthorized
Date: Fri, 22 Aug 2014 01:40:55 GMT
Server: Apache/2.4.7 (Ubuntu)
WWW-Authenticate: Digest realm="directory", nonce="ZI2m7S0BBQA=07cfdbd25e8bab3d41ad643d0a6d0fb98ecef695", algorithm=MD5, domain="/var/www/directory/ http://www.site.com/directory", qop="auth"
Content-Type: text/html; charset=iso-8859-1

SSL 实验室对我的域进行报告,报告返回正常,我没有收到任何其他产品的信任问题。

任何帮助将非常感激!

答案1

根据这个比较,aria2不支持http摘要认证:链接到curl比较表

相关内容