使用多协议多线程下载工具aria2

aria2支持功能

  • HTTP/HTTPS GET support

  • HTTP Proxy support

  • HTTP BASIC authentication support

  • HTTP Proxy authentication support

  • FTP support(active, passive mode)

  • FTP through HTTP proxy(GET command or tunneling)

  • Segmented download

  • Cookie support

  • It can run as a daemon process.

  • BitTorrent protocol support with fast extension.

  • Selective download in multi-file torrent

  • Metalink version 3.0 support(HTTP/FTP/BitTorrent).

  • Limiting download/upload speed

安装

各个发行版安装aria2方法如下:

下载案例

  • 下载单个文件方法如同使用常用的wget工具

  • 将文件保存成不同文件名,使用-o参数 - 这个方法类似curl

  • 限制下载速度

默认aria2回使用最大贷款,然而有时候我们在服务器上需要限制下载速率,所以使用--max-download-limit参数:

  • 下载多个文件 -Z 参数

这个功能比较实用,方便同时下载多个文件

  • 恢复中断的下载-c参数

如果下载过程中断,可以使用-c参数恢复先前中断的下载(如果服务器支持断点续传的话,否则就会重新下载):

  • 从文件读取需要下载的文件列表 -i参数

  • 对每个服务器发起多个连接同时下载(并发多线程)可以大大加速下载 - -x2表示2个并发下载,-x3表示3个并发下载,以此类推。

  • 下载Torrent文件

  • 下载BitTorent Magnet URI

  • 西在BitTorrent Metalink

  • 下载有密码保护的文件

参考

Last updated

Was this helpful?