2015-12-30 21:26:37 +00:00
|
|
|
# aria2c
|
|
|
|
|
2016-01-21 11:45:39 +00:00
|
|
|
> Fast download utility.
|
|
|
|
> Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink.
|
2019-06-09 00:05:26 +01:00
|
|
|
> More information: <https://aria2.github.io>.
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2022-12-02 19:12:24 +00:00
|
|
|
- Download a specific URI to a file:
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2022-12-02 19:12:24 +00:00
|
|
|
`aria2c "{{url}}"`
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2022-12-02 19:12:24 +00:00
|
|
|
- Download a file from a URI with a specific output name:
|
2020-09-13 16:26:37 +01:00
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`aria2c --out {{path/to/file}} "{{url}}"`
|
2020-09-13 16:26:37 +01:00
|
|
|
|
2022-12-02 19:12:24 +00:00
|
|
|
- Download multiple different files in parallel:
|
2021-05-11 15:46:41 +01:00
|
|
|
|
2022-12-02 19:12:24 +00:00
|
|
|
`aria2c --force-sequential {{false}} "{{url1 url2 ...}}"`
|
2021-05-11 15:46:41 +01:00
|
|
|
|
2024-02-13 14:31:54 +00:00
|
|
|
- Download the same file from different mirrors and verify the checksum of the downloaded file:
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2024-02-13 14:31:54 +00:00
|
|
|
`aria2c --checksum={{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"`
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2022-12-02 19:12:24 +00:00
|
|
|
- Download the URIs listed in a file with a specific number of parallel downloads:
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`aria2c --input-file {{path/to/file}} --max-concurrent-downloads {{number_of_downloads}}`
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2016-01-21 11:45:39 +00:00
|
|
|
- Download with multiple connections:
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`aria2c --split {{number_of_connections}} "{{url}}"`
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2016-01-21 11:45:39 +00:00
|
|
|
- FTP download with username and password:
|
2015-12-30 21:26:37 +00:00
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`aria2c --ftp-user {{username}} --ftp-passwd {{password}} "{{url}}"`
|
2018-10-29 16:59:22 +00:00
|
|
|
|
|
|
|
- Limit download speed in bytes/s:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`aria2c --max-download-limit {{speed}} "{{url}}"`
|