tldr/pages/common/aria2c.md

34 lines
673 B
Markdown

# aria2c
> Fast download utility.
> Supports HTTP(S), FTP, SFTP, BitTorrent, and Metalink.
> More information: <https://aria2.github.io>.
- Download a URI to a file:
`aria2c {{url}}`
- Download the contents of an URL to a file:
`aria2c -o {{filename}} {{url}}`
- Download from multiple sources:
`aria2c {{url_1}} {{url_2}}`
- Download the URIs listed in a file:
`aria2c -i {{filename}}`
- Download with multiple connections:
`aria2c -s {{connections_num}} {{url}}`
- FTP download with username and password:
`aria2c --ftp-user={{username}} --ftp-passwd={{password}} {{url}}`
- Limit download speed in bytes/s:
`aria2c --max-download-limit={{speed}} {{url}}`