ExamplesΒΆ

Basic example of adding a single download to aria2 running on the same machine

aria2r "http://host/file.zip"

Download a file from 2 mirrors

aria2r "http://host/file.zip" "http://mirror/file.zip"

Add downloads to a remote server listening on a non-default port

aria2r --host 10.0.0.1 --port 8660 "http://host/file.zip"

Add multiple downloads through an aria2 input file

aria2r -i /path/to/input-file.txt

Add multiple downloads through an input file, specifying options that will be applied to all downloads located in the file (in this case all downloads are behind basic authentication)

aria2r -i "/path/to/input-file.txt" --http-user "username" --http-passwd 'pa$$word'

Providing a config file in an alternate location

aria2r -C "~/myconfigs/aria2r.conf" "http://host/file.zip"