2007-01-28 14:18:35 +00:00
. \" Title: aria2c
. \" Author:
2007-09-03 14:17:10 +00:00
. \" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
2007-10-29 12:43:45 +00:00
. \" Date: 10/29/2007
2007-01-28 14:18:35 +00:00
. \" Manual:
. \" Source:
. \"
2007-10-29 12:43:45 +00:00
.TH "ARIA2C" "1" "10/29/2007" "" ""
2007-01-28 14:18:35 +00:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
2007-09-03 14:17:10 +00:00
aria2c - The high speed download utility
2007-01-28 14:18:35 +00:00
.SH "SYNOPSIS"
.sp
2007-06-10 08:29:56 +00:00
.RS 4
2007-01-28 14:18:35 +00:00
.nf
2007-09-03 14:17:10 +00:00
aria2c [OPTIONS] URL \. \. \.
aria2c [OPTIONS] \- T TORRENT_FILE FILE \. \. \.
2007-01-28 14:18:35 +00:00
aria2c [OPTIONS] \- M METALINK_FILE
.fi
.RE
.SH "DESCRIPTION"
2007-09-03 14:17:10 +00:00
aria2 is a utility for downloading files\. It has completely new design concept from its predecessor, Aria, and is written from scratch\. aria2 has a segmented downloading engine in its core\. It can download one file from multiple URLs or multiple connections from one URL\. This results in very high speed downloading, much faster than ordinary browsers\. This engine in was implemented in a single\- thread model\. The architecture is clean and easy to extend\. aria2 currently supports HTTP, FTP, and BitTorrent\. It also supports Metalink version 3\. 0\.
2007-01-28 14:18:35 +00:00
.sp
2007-09-03 14:17:10 +00:00
Please visit the project web site at http://aria2\. sourceforge\. net/
2007-01-28 14:18:35 +00:00
.sp
.SH "OPTIONS"
2007-03-28 15:08:22 +00:00
.PP
2007-01-28 14:18:35 +00:00
\- d, \- \- dir=DIR
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The directory to store the downloaded file\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- o, \- \- out=FILE
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The file name of the downloaded file\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- l, \- \- log=LOG
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The file name of the log file\. If
2007-01-28 14:18:35 +00:00
\fI \- \fR
2007-09-03 14:17:10 +00:00
is specified, log is written to stdout\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- D, \- \- daemon
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Run as daemon\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- s, \- \- split=N
2007-06-10 08:29:56 +00:00
.RS 4
2007-01-28 14:18:35 +00:00
Download a file using
\fI N\fR
2007-09-03 14:17:10 +00:00
connections\.
2007-01-28 14:18:35 +00:00
\fI N\fR
must be between
\fI 1\fR
and
2007-09-03 14:17:10 +00:00
\fI 5\fR \. This option affects all URLs\. Thus, aria2 connects to each URL with
2007-01-28 14:18:35 +00:00
\fI N\fR
2007-09-03 14:17:10 +00:00
connections\. Default:
2007-01-28 14:18:35 +00:00
\fI 1\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- retry\- wait=SEC
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set the seconds to wait to retry after an error has occured\. Specify a value between 0 and 60\. Default: 5
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- t, \- \- timeout=SEC
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set timeout in seconds\. Default: 60
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- m, \- \- max\- tries=N
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set number of tries\.
2007-01-28 14:18:35 +00:00
\fI 0\fR
2007-09-03 14:17:10 +00:00
means unlimited\. Default:
2007-01-28 14:18:35 +00:00
\fI 5\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- http\- proxy=HOST:PORT
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Use HTTP proxy server\. This affects all URLs\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- http\- user=USER
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set HTTP user\. This affects all URLs\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- http\- passwd=PASSWD
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set HTTP password\. This affects all URLs\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- http\- proxy\- user=USER
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set HTTP proxy user\. This affects all URLs\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- http\- proxy\- passwd=PASSWD
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set HTTP proxy password\. This affects all URLs\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- http\- proxy\- method=METHOD
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set the method to use in proxy request\.
2007-01-28 14:18:35 +00:00
\fI METHOD\fR
is either
\fI get\fR
or
2007-09-03 14:17:10 +00:00
\fI tunnel\fR \. Default:
2007-01-28 14:18:35 +00:00
\fI tunnel\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- http\- auth\- scheme=SCHEME
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set HTTP authentication scheme\. Currently,
2007-01-28 14:18:35 +00:00
\fI basic\fR
2007-09-03 14:17:10 +00:00
is the only supported scheme\. Default:
2007-01-28 14:18:35 +00:00
\fI basic\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- referer=REFERER
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set Referer\. This affects all URLs\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- ftp\- user=USER
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set FTP user\. This affects all URLs\. Default: anonymous
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- ftp\- passwd=PASSWD
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set FTP password\. This affects all URLs\. Default: ARIA2USER@
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- ftp\- type=TYPE
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set FTP transfer type\. TYPE is either
2007-01-28 14:18:35 +00:00
\fI binary\fR
or
2007-09-03 14:17:10 +00:00
\fI ascii\fR \. Default:
2007-01-28 14:18:35 +00:00
\fI binary\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- p, \- \- ftp\- pasv
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Use passive mode in FTP\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- ftp\- via\- http\- proxy=METHOD
2007-06-10 08:29:56 +00:00
.RS 4
2007-01-28 14:18:35 +00:00
Use HTTP proxy in
2007-09-03 14:17:10 +00:00
\fI FTP\fR \.
2007-01-28 14:18:35 +00:00
\fI METHOD\fR
is either
\fI get\fR
or
2007-09-03 14:17:10 +00:00
\fI tunnel\fR \. Default:
2007-01-28 14:18:35 +00:00
\fI tunnel\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- lowest\- speed\- limit=SPEED
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Close connection if download speed is lower than or equal to this value(bytes per sec)\. 0 means aria2 does not have a lowest speed limit\. You can append K or M(1K = 1024, 1M = 1024K)\. This option does not affect BitTorrent downloads\. Default: 0
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- max\- download\- limit=SPEED
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set max download speed in bytes per sec\.
2007-01-28 14:18:35 +00:00
\fI 0\fR
2007-09-03 14:17:10 +00:00
means unrestricted\. You can append
2007-01-28 14:18:35 +00:00
\fI K\fR
or
2007-09-03 14:17:10 +00:00
\fI M\fR (1K = 1024, 1M = 1024K)\. Default:
2007-01-28 14:18:35 +00:00
\fI 0\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- file\- allocation=METHOD
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Specify file allocation method\. METHOD is either
2007-01-28 14:18:35 +00:00
\fI none\fR
or
2007-09-03 14:17:10 +00:00
\fI prealloc\fR \.
2007-01-28 14:18:35 +00:00
\fI none\fR
2007-09-03 14:17:10 +00:00
doesn\' t pre\- allocate file space\.
2007-01-28 14:18:35 +00:00
\fI prealloc\fR
2007-10-29 12:43:45 +00:00
pre\- allocates file space before download begins\. This may take some time depending on the size of the file\. Default: prealloc
.RE
.PP
\- \- no\- file\- allocation\- limit=SIZE
.RS 4
No file allocation is made for files whose size is smaller than SIZE\. You can append K or M(1K = 1024, 1M = 1024K)\. Default: 5M
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- allow\- overwrite=true|false
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
If false, aria2 doesn\' t download a file which already exists but the corresponding \. aria2 file doesn\' t exist\. Default: false
.RE
.PP
\- Z, \- \- force\- sequential[=true|false]
.RS 4
Fetch URIs in the command\- line sequentially and download each URI in a separate session, like the usual command\- line download utilities\. Default: false
.RE
.PP
\- \- auto\- file\- renaming[=true|false]
.RS 4
Rename file name if the same file already exists\. This option works only in http(s)/ftp download\. The new file name has a dot and a number(1\. \. 9999) appended\. Default: true
.RE
.PP
\- P, \- \- parameterized\- uri[=true|false]
.RS 4
Enable parameterized URI support\. You can specify set of parts:
2007-09-09 16:17:35 +00:00
.RE
.sp
.RS 4
.nf
http://{sv1,sv2,sv3}/foo\. iso
.fi
.RE
.sp
.RS 4
.nf
Also you can specify numeric sequences with step
counter:
.fi
.RE
.sp
.RS 4
.nf
http://host/image[000\- 100:2]\. img
.fi
.RE
.sp
.RS 4
.nf
A step counter can be omitted\.
If all URIs do not point to the same file, such
as the second example above, \- Z option is
required\.
Default: false
.fi
2007-03-28 15:08:22 +00:00
.RE
.PP
\- \- check\- integrity=true|false
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Check file integrity by validating piece hash\. This option only affects in BitTorrent downloads and Metalink downloads with chunk checksums\. Use this option to re\- download a damaged portion of a file\. You may need to specify \- \- allow\- overwrite=true if the \. aria2 file doesn\' t exist\. Default: false
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- realtime\- chunk\- checksum=true|false
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Validate chunk checksum while downloading a file in Metalink mode\. This option on affects Metalink mode with chunk checksums\. Default: true
2007-03-28 15:08:22 +00:00
.RE
.PP
\- c, \- \- continue
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Continue downloading a partially downloaded file\. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning\. Currently this option is only applicable to http(s)/ftp downloads\.
2007-03-28 15:08:22 +00:00
.RE
.PP
\- U, \- \- user\- agent=USER_AGENT
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set user agent for http(s) downloads\.
2007-03-28 15:08:22 +00:00
.RE
.PP
\- n, \- \- no\- netrc
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Disables netrc support\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-06-10 08:29:56 +00:00
\- i, \- \- input\- file=FILE
.RS 4
2007-09-03 14:17:10 +00:00
Downloads URIs found in FILE\. You can specify multiple URIs for a single entity: separate URIs on a single line using the TAB character\. Reads input from stdin when
2007-07-05 16:06:31 +00:00
\fI \- \fR
2007-09-03 14:17:10 +00:00
is specified\.
2007-06-10 08:29:56 +00:00
.RE
.PP
\- j, \- \- max\- concurrent\- downloads=N
.RS 4
2007-09-03 14:17:10 +00:00
Set maximum number of concurrent downloads\. It should be used with the \- i option\. Default: 5
2007-06-10 08:29:56 +00:00
.RE
.PP
\- \- load\- cookies=FILE
.RS 4
2007-09-03 14:17:10 +00:00
Load cookies from FILE\. The format of FILE is the same used by Netscape and Mozilla\.
2007-06-10 08:29:56 +00:00
.RE
.PP
2007-07-05 16:06:31 +00:00
\- S, \- \- show\- files
.RS 4
2007-09-03 14:17:10 +00:00
Print file listing of \. torrent or \. metalink file and exit\.
2007-07-05 16:06:31 +00:00
.RE
.PP
\- \- select\- file=INDEX\& ...
.RS 4
2007-09-03 14:17:10 +00:00
Set file to download by specifing its index\. You can find the file index using the \- \- show\- files option\. Multiple indexes can be specified by using
\fI ,\fR , for example: "3,6"\. You can also use
2007-07-05 16:06:31 +00:00
\fI \- \fR
2007-09-03 14:17:10 +00:00
to specify a range: "1\- 5"\.
2007-07-05 16:06:31 +00:00
\fI ,\fR
and
\fI \- \fR
2007-09-03 14:17:10 +00:00
can be used together\. When used with the \- M option, index may vary depending on the query(see \- \- metalink\- * options)\.
2007-07-05 16:06:31 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- T, \- \- torrent\- file=TORRENT_FILE
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The path to the \. torrent file\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- follow\- torrent=true|false
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set to false to prevent aria2 from entering BitTorrent mode even if the filename of the downloaded file ends with \. torrent\. Default: true
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- direct\- file\- mapping=true|false
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Directly read from and write to each file mentioned in \. torrent file\. Default:
2007-01-28 14:18:35 +00:00
\fI true\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- listen\- port=PORT
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set TCP port number for BitTorrent downloads\. Default: 6881\- 6999
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- max\- upload\- limit=SPEED
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set max upload speed in bytes per sec\.
2007-01-28 14:18:35 +00:00
\fI 0\fR
2007-09-03 14:17:10 +00:00
means unrestricted\. You can append
2007-01-28 14:18:35 +00:00
\fI K\fR
or
2007-09-03 14:17:10 +00:00
\fI M\fR (1K = 1024, 1M = 1024K)\. Default:
2007-01-28 14:18:35 +00:00
\fI 0\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- seed\- time=MINUTES
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Specify seeding time in minutes\. Also see the \- \- seed\- ratio option\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- seed\- ratio=RATIO
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Specify share ratio\. Seed completed torrents until share ratio reaches RATIO\. 1\. 0 is encouraged\. If \- \- seed\- time option is specified along with this option, seeding ends when at least one of the conditions is satisfied\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-08-09 15:34:03 +00:00
\- \- peer\- id\- prefix=PEERI_ID_PREFIX
.RS 4
2007-09-03 14:17:10 +00:00
Specify the prefix of peer ID\. The peer ID in in BitTorrent is 20 byte length\. If more than 20 bytes are specified, only first 20 bytes are used\. If less than 20 bytes are specified, the random alphabet characters are added to make it\' s length 20 bytes\. Default: \- aria2\-
2007-08-09 15:34:03 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- M, \- \- metalink\- file=METALINK_FILE
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The file path to \. metalink file\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- C, \- \- metalink\- servers=NUM_SERVERS
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The number of servers to connect to simultaneously\. Default:
2007-06-10 08:29:56 +00:00
\fI 5\fR
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- metalink\- version=VERSION
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The version of the file to download\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- metalink\- language=LANGUAGE
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The language of the file to download\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- metalink\- os=OS
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The operating system of the file to download\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- metalink\- location=LOCATION
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
The location of the prefered server\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- \- follow\- metalink=true|false
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Set to false to prevent aria2 from entering Metalink mode even if the filename of the downloaded file ends with \. metalink\. Default: true
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- v, \- \- version
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Print the version number and exit\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
\- h, \- \- help
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Print this message and exit\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
URL
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
You can specify multiple URLs\. All URLs must point to the same file or downloading will fail\.
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
FILE
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
Specify files in multi\- file torrent to download\. Use in conjunction with the \- T option\. This argument is ignored if you specify the \- \- select\- file option\.
2007-03-28 15:08:22 +00:00
.RE
2007-01-28 14:18:35 +00:00
.SH "EXAMPLES"
2007-03-28 15:08:22 +00:00
.PP
2007-08-08 15:26:19 +00:00
Download a file using 1 connection
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c http://AAA\. BBB\. CCC/file\. zip
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-08-08 15:26:19 +00:00
Download a file using 2 connections
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- s 2 http://AAA\. BBB\. CCC/file\. zip
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-08-08 15:26:19 +00:00
Download a file using 2 connections, each connects to a different server
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c http://AAA\. BBB\. CCC/file\. zip http://DDD\. EEE\. FFF/GGG/file\. zip
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
You can mix up different protocols
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c http://AAA\. BBB\. CCC/file\. zip ftp://DDD\. EEE\. FFF/GGG/file\. zip
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-09-03 14:17:10 +00:00
Download files listed in a text file\. 5 files are downloaded concurrently
2007-07-05 16:06:31 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- i uris\. txt \- j 5
2007-07-05 16:06:31 +00:00
.RE
.PP
Download files passed through stdin
.RS 4
2007-09-03 14:17:10 +00:00
cat uris\. txt | aria2c \- i \-
2007-07-05 16:06:31 +00:00
.RE
.PP
Download a file using local cookies
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- \- load\- cookies cookies\. txt http://AAA\. BBB\. CCC/file\. zip
.RE
.PP
Parameterized URI
.RS 4
aria2c \- P http://{server1,server2,server3}/file\. iso
.RE
.PP
Parameterized URI\. \- Z option is required in this case
.RS 4
2007-09-09 16:17:35 +00:00
aria2c \- P \- Z http://host/file[001\- 100:2]\. img
2007-07-05 16:06:31 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
Download a torrent
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- o test\. torrent http://AAA\. BBB\. CCC/file\. torrent
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-09-03 14:17:10 +00:00
Download a torrent using a local \. torrent file
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- T test\. torrent
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
Download only selected files
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- T test\. torrent dir/file1\. zip dir/file2\. zip
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-07-05 16:06:31 +00:00
Download only selected files using index
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- T test\. torrent \- \- select\- file 1,3\- 5
2007-07-05 16:06:31 +00:00
.RE
.PP
2007-09-03 14:17:10 +00:00
Print file listing of \. torrent file
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- T test\. torrent \- S
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
Metalink downloading
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- \- lowest\- speed\- limit 10K http://AAA\. BBB\. CCC/file\. metalink
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-09-03 14:17:10 +00:00
Download a file using a local \. metalink file
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- M test\. metalink
2007-03-28 15:08:22 +00:00
.RE
.PP
2007-01-28 14:18:35 +00:00
Metalink downloading with preferences
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- M test\. metalink \- \- metalink\- version=1\. 1\. 1 \- \- metalink\- language=en\- US
2007-03-28 15:08:22 +00:00
.RE
2007-07-05 16:06:31 +00:00
.PP
Download only selected files
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- M test\. metalink \- \- metalink\- language=en\- US dir/file1\. zip dir/file2\. zip
2007-07-05 16:06:31 +00:00
.RE
.PP
Download only selected files using index
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- M test\. metalink \- \- metalink\- language=en\- US \- \- select\- file 1,3\- 5
2007-07-05 16:06:31 +00:00
.RE
.PP
2007-09-03 14:17:10 +00:00
Print file listing of \. metalink file
2007-07-05 16:06:31 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
aria2c \- M test\. metalink \- S \- \- metalink\- language=en\- US
2007-07-05 16:06:31 +00:00
.RE
2007-03-28 15:08:22 +00:00
.SH "FILES"
.PP
2007-09-03 14:17:10 +00:00
aria2\. conf
2007-06-10 08:29:56 +00:00
.RS 4
2007-09-03 14:17:10 +00:00
User configuration file\. It must be placed under ~/\. aria2 and must be named as aria2\. conf\. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command\- line option name without
2007-03-28 16:13:36 +00:00
\fI \- \- \fR
2007-09-03 14:17:10 +00:00
prefix\. The lines beginning
2007-03-28 16:13:36 +00:00
\fI #\fR
2007-09-03 14:17:10 +00:00
are treated as comments\.
2007-03-28 16:13:36 +00:00
.sp
2007-06-10 08:29:56 +00:00
.RS 4
2007-03-28 16:13:36 +00:00
.nf
2007-06-10 08:29:56 +00:00
Example:
2007-03-28 16:13:36 +00:00
.fi
.RE
.sp
2007-06-10 08:29:56 +00:00
.RS 4
2007-03-28 16:13:36 +00:00
.nf
# sample configuration file for aria2c
file\- allocation=prealloc
listen\- port=60000
2007-09-03 14:17:10 +00:00
seed\- ratio=1\. 0
2007-03-28 16:13:36 +00:00
max\- upload\- limit=40K
ftp\- pasv=true
.fi
.RE
2007-03-28 15:08:22 +00:00
.RE
2007-01-28 14:18:35 +00:00
.SH "REPORTING BUGS"
2007-09-03 14:17:10 +00:00
Report bugs to Tatsuhiro Tsujikawa <t\- tujikawa@users\. sourceforge\. net>
2007-01-28 14:18:35 +00:00
.sp
.SH "AUTHOR"
2007-09-03 14:17:10 +00:00
Tatsuhiro Tsujikawa <t\- tujikawa@users\. sourceforge\. net>
2007-01-28 14:18:35 +00:00
.sp
.SH "COPYRIGHT"
Copyright \(co 2006, 2007 Tatsuhiro Tsujikawa
.sp