Aria2: Difference between revisions

From Leo's Notes
This page was last edited on 17 September 2019, at 22:01.
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux"
mNo edit summary
Line 1: Line 1:
aria2c is a HTTP/FTP/BitTorrent download utility.
aria2 is a HTTP/FTP/BitTorrent download utility.
 
Project Website:
* https://aria2.github.io/


== Usage ==
== Usage ==
To quickly download something with 4 threads:
To quickly download something with 4 threads:
{{highlight|lang=terminal|code=
$ aria2c -x 4 http://something.com/foo.zip
}}
Chunk sizes can be defined with {{code|-k}} flag.
{{highlight|lang=terminal|code=
$ aria2c -x 4 -k 1M http://something.com/foo.zip
}}
Resume download started by other programs with {{code|-c}}, only if the initial download was not multi-segmented.
{{highlight|lang=terminal|code=
$ aria2c -c -s2 http://something.com/foo.zip
}}


Download speed can be throttled:
{{highlight|lang=terminal|code=
{{highlight|lang=terminal|code=
$ aria2c -x 4 http://something.com/foo.zip
$ aria2c --max-download-limit=100K http://something.com/foo.zip
}}
}}


Other common options are:
Other common options are:

Revision as of 22:01, 17 September 2019

aria2 is a HTTP/FTP/BitTorrent download utility.

Project Website:

Usage

To quickly download something with 4 threads:

$ aria2c -x 4 http://something.com/foo.zip

Chunk sizes can be defined with -k flag.

$ aria2c -x 4 -k 1M http://something.com/foo.zip

Resume download started by other programs with -c, only if the initial download was not multi-segmented.

$ aria2c -c -s2 http://something.com/foo.zip

Download speed can be throttled:

$ aria2c --max-download-limit=100K http://something.com/foo.zip


Other common options are:

Flag Description
--check-certificate=false No SSL certificate validation
-c or --continue=true Enable resume

WebUI

There is a web UI project for Aria2C using the built in RPC server at https://github.com/mayswind/AriaNg.

A packaged version inside Docker can be found on my repository at