2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Updated man page.
	* doc/aria2c.1.txt
pull/1/head
Tatsuhiro Tsujikawa 2008-09-27 05:33:05 +00:00
parent 16d725b96d
commit 080fcd5fb8
4 changed files with 352 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated man page.
* doc/aria2c.1.txt
2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> 2008-09-27 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
When error occurred while aria2 was parsing an .aria2.conf file, print When error occurred while aria2 was parsing an .aria2.conf file, print

View File

@ -1,11 +1,11 @@
.\" Title: aria2c .\" Title: aria2c
.\" Author: .\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
.\" Date: 08/14/2008 .\" Date: 09/27/2008
.\" Manual: .\" Manual:
.\" Source: .\" Source:
.\" .\"
.TH "ARIA2C" "1" "08/14/2008" "" "" .TH "ARIA2C" "1" "09/27/2008" "" ""
.\" disable hyphenation .\" disable hyphenation
.nh .nh
.\" disable justification (adjust text to left margin only) .\" disable justification (adjust text to left margin only)
@ -59,7 +59,7 @@ Continue downloading a partially downloaded file\&. Use this option to resume a
.PP .PP
\fB\-h\fR, \fB\-\-help\fR[=CATEGORY] \fB\-h\fR, \fB\-\-help\fR[=CATEGORY]
.RS 4 .RS 4
Print usage and exit\&. The help messages are classified in several categories\&. For example, type "\fB\-\-help\fR=http" for detailed explanation for the options related to HTTP\&. If no matching category is found, search option name using a given word in forward match and print the result\&. Available Values: Print usage and exit\&. The help messages are classified in several categories\&. For example, type "\fB\-\-help\fR=http" for detailed explanation for the options related to HTTP\&. If no matching category is found, search option name using a given word in middle match and print the result\&. Available Values:
\fIbasic\fR, \fIbasic\fR,
\fIadvanced\fR, \fIadvanced\fR,
\fIhttp\fR, \fIhttp\fR,
@ -72,6 +72,14 @@ Default:
.RE .RE
.SS "HTTP/FTP Options" .SS "HTTP/FTP Options"
.PP .PP
\fB\-\-connect\-timeout\fR=SEC
.RS 4
Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server\&. After the connection is established, this option makes no effect and
\fB\-\-timeout\fR
option is used instead\&. Default:
\fI60\fR
.RE
.PP
\fB\-\-lowest\-speed\-limit\fR=SPEED \fB\-\-lowest\-speed\-limit\fR=SPEED
.RS 4 .RS 4
Close connection if download speed is lower than or equal to this value(bytes per sec)\&. Close connection if download speed is lower than or equal to this value(bytes per sec)\&.
@ -83,6 +91,14 @@ or
\fI0\fR \fI0\fR
.RE .RE
.PP .PP
\fB\-\-max\-file\-not\-found\fR=NUM
.RS 4
If aria2 recieves `file not found\' status from the remote HTTP/FTP servers NUM times without getting a single byte, then force the download to fail\&. Specify
\fI0\fR
to disable this option\&. This options is only effective only when using HTTP/FTP servers\&. Default:
\fI0\fR
.RE
.PP
\fB\-m\fR, \fB\-\-max\-tries\fR=N \fB\-m\fR, \fB\-\-max\-tries\fR=N
.RS 4 .RS 4
Set number of tries\&. Set number of tries\&.
@ -103,6 +119,12 @@ The file name of the downloaded file\&.
Note Note
In Metalink, BitTorrent download you cannot specify file name\&. The file name specified here is only used when the URLs fed to aria2 is done by command line without \fB\-i\fR, \fB\-Z\fR option, like this: aria2c \-o myfile\&.zip http://mirror1/file\&.zip http://mirror2/file\&.zip In Metalink, BitTorrent download you cannot specify file name\&. The file name specified here is only used when the URLs fed to aria2 is done by command line without \fB\-i\fR, \fB\-Z\fR option, like this: aria2c \-o myfile\&.zip http://mirror1/file\&.zip http://mirror2/file\&.zip
.PP .PP
\fB\-R\fR, \fB\-\-remote\-time\fR[=\fItrue\fR|\fIfalse\fR]
.RS 4
Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file\&. Default:
\fIfalse\fR
.RE
.PP
\fB\-\-retry\-wait\fR=SEC \fB\-\-retry\-wait\fR=SEC
.RS 4 .RS 4
Set the seconds to wait to retry after an error has occured\&. Specify a value between Set the seconds to wait to retry after an error has occured\&. Specify a value between
@ -112,6 +134,28 @@ and
\fI5\fR \fI5\fR
.RE .RE
.PP .PP
\fB\-\-server\-stat\-of\fR=FILE
.RS 4
Specify the filename to which performance profile of the servers is saved\&. You can load saved data using
\fB\-\-server\-stat\-if\fR
option\&. See SERVER PERFORMANCE PROFILE section below for file format\&.
.RE
.PP
\fB\-\-server\-stat\-if\fR=FILE
.RS 4
Specify the filename to load performance profile of the servers\&. The loaded data will be used in some URI selector such as
\fIfeedback\fR\&. See also
\fB\-\-uri\-selector\fR
option\&. See SERVER PERFORMANCE PROFILE section below for file format\&.
.RE
.PP
\fB\-\-server\-stat\-timeout\fR=SEC
.RS 4
Specifies timeout in seconds to invalidate performance profile of the servers since the last contact to them\&. Default:
\fI86400\fR
(24hours)
.RE
.PP
\fB\-s\fR, \fB\-\-split\fR=N \fB\-s\fR, \fB\-\-split\fR=N
.RS 4 .RS 4
Download a file using N connections\&. If more than N URLs are given, first N URLs are used and remaining URLs are used for backup\&. If less than N URLs are given, those URLs are used more than once so that N connections total are made simultaneously\&. N must be between Download a file using N connections\&. If more than N URLs are given, first N URLs are used and remaining URLs are used for backup\&. If less than N URLs are given, those URLs are used more than once so that N connections total are made simultaneously\&. N must be between
@ -128,6 +172,23 @@ option too\&. Default:
Set timeout in seconds\&. Default: Set timeout in seconds\&. Default:
\fI60\fR \fI60\fR
.RE .RE
.PP
\fB\-\-uri\-selector\fR=SELECTOR
.RS 4
Specify URI selection algorithm\&. Possible values are
\fIinorder\fR
and
\fIfeedback\fR\&. If
\fIinorder\fR
is given, URI is tried in the order appeared in the URI list\&. If
\fIfeedback\fR
is given, aria2 uses download speed observed in the previous downloads and choose fastest server in the URI list\&. This also effectively skips dead mirrors\&. The observed download speed is a part of performance profile of servers mentioned in
\fB\-\-server\-stat\-of\fR
and
\fB\-\-server\-stat\-if\fR
options\&. Default:
\fIinorder\fR
.RE
.SS "HTTP Specific Options" .SS "HTTP Specific Options"
.PP .PP
\fB\-\-http\-auth\-scheme\fR=SCHEME \fB\-\-http\-auth\-scheme\fR=SCHEME
@ -200,8 +261,15 @@ Append HEADER to HTTP request header\&. You can use this option repeatedly to sp
.PP .PP
\fB\-\-load\-cookies\fR=FILE \fB\-\-load\-cookies\fR=FILE
.RS 4 .RS 4
Load Cookies from FILE using the Mozilla/Firefox(1\&.x/2\&.x) and Netscape format\&. Load Cookies from FILE using the Firefox3 format(SQLite3) and the Mozilla/Firefox(1\&.x/2\&.x)/Netscape format\&.
.RE .RE
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
Note
If aria2 is build without libsqlite3, then it doesn\'t support Firefox3 cookie\&.
.PP .PP
\fB\-U\fR, \fB\-\-user\-agent\fR=USER_AGENT \fB\-U\fR, \fB\-\-user\-agent\fR=USER_AGENT
.RS 4 .RS 4
@ -1209,6 +1277,44 @@ You can seed downloaded file using \-\-check\-integrity=true option\&.
aria2c \-\-check\-integrity=true file\&.torrent aria2c \-\-check\-integrity=true file\&.torrent
.fi .fi
.RE .RE
.SH "SERVER PERFORMANCE PROFILE"
This section describes the format of server performance profile\&. The file is plain text and each line has several NAME=VALUE pair, delimited by comma\&. Currently following NAMEs are recognized:
.PP
host
.RS 4
Hostname of the server\&. Required\&.
.RE
.PP
protocol
.RS 4
Protocol for this profile, such as ftp, http\&. Required\&.
.RE
.PP
dl_speed
.RS 4
The average download speed observed in the previous download in bytes per sec\&. Required\&.
.RE
.PP
last_updated
.RS 4
Last contact time in GMT with this server, specified in the seconds from the Epoch\&. Required\&.
.RE
.PP
status
.RS 4
ERROR is set when server cannot be reached or out\-of\-service or timeout occurred\&. Otherwise, OK is set\&.
.RE
Those fields must exist in one line\&. The order of the fields is not significant\&.You can put pairs other than above; they are simply ignored\&.
.sp
An example is follow:
.sp
.sp
.RS 4
.nf
host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK
host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR
.fi
.RE
.SH "FILES" .SH "FILES"
.SS "aria2\&.conf" .SS "aria2\&.conf"
User configuration file\&. It must be placed under $HOME/\&.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 \fI\-\-\fR prefix\&. The lines beginning \fI#\fR are treated as comments\&. User configuration file\&. It must be placed under $HOME/\&.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 \fI\-\-\fR prefix\&. The lines beginning \fI#\fR are treated as comments\&.

View File

@ -415,7 +415,7 @@ div.olist2 div.olist ol {
The help messages are classified in several categories. The help messages are classified in several categories.
For example, type "<strong>&#8212;help</strong>=http" for detailed explanation for the options For example, type "<strong>&#8212;help</strong>=http" for detailed explanation for the options
related to HTTP. If no matching category is found, search option name using related to HTTP. If no matching category is found, search option name using
a given word in forward match and print the result. a given word in middle match and print the result.
Available Values: <em>basic</em>, <em>advanced</em>, <em>http</em>, <em>ftp</em>, <em>metalink</em>, Available Values: <em>basic</em>, <em>advanced</em>, <em>http</em>, <em>ftp</em>, <em>metalink</em>,
<em>bittorrent</em>, <em>all</em> <em>bittorrent</em>, <em>all</em>
Default: <em>basic</em> Default: <em>basic</em>
@ -425,6 +425,17 @@ div.olist2 div.olist ol {
<h3 id="_http_ftp_options">HTTP/FTP Options</h3><div style="clear:left"></div> <h3 id="_http_ftp_options">HTTP/FTP Options</h3><div style="clear:left"></div>
<div class="vlist"><dl> <div class="vlist"><dl>
<dt> <dt>
<strong>&#8212;connect-timeout</strong>=SEC
</dt>
<dd>
<p>
Set the connect timeout in seconds to establish connection to
HTTP/FTP/proxy server. After the connection is established, this
option makes no effect and <strong>&#8212;timeout</strong> option is used instead.
Default: <em>60</em>
</p>
</dd>
<dt>
<strong>&#8212;lowest-speed-limit</strong>=SPEED <strong>&#8212;lowest-speed-limit</strong>=SPEED
</dt> </dt>
<dd> <dd>
@ -438,6 +449,18 @@ div.olist2 div.olist ol {
</p> </p>
</dd> </dd>
<dt> <dt>
<strong>&#8212;max-file-not-found</strong>=NUM
</dt>
<dd>
<p>
If aria2 recieves `file not found' status from the remote HTTP/FTP
servers NUM times without getting a single byte, then force the
download to fail. Specify <em>0</em> to disable this option. This options is
only effective only when using HTTP/FTP servers.
Default: <em>0</em>
</p>
</dd>
<dt>
<strong>-m</strong>, <strong>&#8212;max-tries</strong>=N <strong>-m</strong>, <strong>&#8212;max-tries</strong>=N
</dt> </dt>
<dd> <dd>
@ -468,6 +491,16 @@ aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip</td>
</div> </div>
<div class="vlist"><dl> <div class="vlist"><dl>
<dt> <dt>
<strong>-R</strong>, <strong>&#8212;remote-time</strong>[=<em>true</em>|<em>false</em>]
</dt>
<dd>
<p>
Retrieve timestamp of the remote file from the remote HTTP/FTP
server and if it is available, apply it to the local file.
Default: <em>false</em>
</p>
</dd>
<dt>
<strong>&#8212;retry-wait</strong>=SEC <strong>&#8212;retry-wait</strong>=SEC
</dt> </dt>
<dd> <dd>
@ -478,6 +511,37 @@ aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip</td>
</p> </p>
</dd> </dd>
<dt> <dt>
<strong>&#8212;server-stat-of</strong>=FILE
</dt>
<dd>
<p>
Specify the filename to which performance profile of the servers is
saved. You can load saved data using <strong>&#8212;server-stat-if</strong> option. See
SERVER PERFORMANCE PROFILE section below for file format.
</p>
</dd>
<dt>
<strong>&#8212;server-stat-if</strong>=FILE
</dt>
<dd>
<p>
Specify the filename to load performance profile of the servers. The
loaded data will be used in some URI selector such as <em>feedback</em>.
See also <strong>&#8212;uri-selector</strong> option. See SERVER PERFORMANCE PROFILE
section below for file format.
</p>
</dd>
<dt>
<strong>&#8212;server-stat-timeout</strong>=SEC
</dt>
<dd>
<p>
Specifies timeout in seconds to invalidate performance profile of
the servers since the last contact to them.
Default: <em>86400</em> (24hours)
</p>
</dd>
<dt>
<strong>-s</strong>, <strong>&#8212;split</strong>=N <strong>-s</strong>, <strong>&#8212;split</strong>=N
</dt> </dt>
<dd> <dd>
@ -500,6 +564,22 @@ aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip</td>
Default: <em>60</em> Default: <em>60</em>
</p> </p>
</dd> </dd>
<dt>
<strong>&#8212;uri-selector</strong>=SELECTOR
</dt>
<dd>
<p>
Specify URI selection algorithm. Possible values are <em>inorder</em> and
<em>feedback</em>. If <em>inorder</em> is given, URI is tried in the order
appeared in the URI list. If <em>feedback</em> is given, aria2 uses
download speed observed in the previous downloads and choose fastest
server in the URI list. This also effectively skips dead
mirrors. The observed download speed is a part of performance
profile of servers mentioned in <strong>&#8212;server-stat-of</strong> and
<strong>&#8212;server-stat-if</strong> options.
Default: <em>inorder</em>
</p>
</dd>
</dl></div> </dl></div>
<h3 id="_http_specific_options">HTTP Specific Options</h3><div style="clear:left"></div> <h3 id="_http_specific_options">HTTP Specific Options</h3><div style="clear:left"></div>
<div class="vlist"><dl> <div class="vlist"><dl>
@ -604,9 +684,20 @@ aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip</td>
</dt> </dt>
<dd> <dd>
<p> <p>
Load Cookies from FILE using the Mozilla/Firefox(1.x/2.x) and Netscape format. Load Cookies from FILE using the Firefox3 format(SQLite3) and the
Mozilla/Firefox(1.x/2.x)/Netscape format.
</p> </p>
</dd> </dd>
</dl></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<div class="title">Note</div>
</td>
<td class="content">If aria2 is build without libsqlite3, then it doesn't support Firefox3 cookie.</td>
</tr></table>
</div>
<div class="vlist"><dl>
<dt> <dt>
<strong>-U</strong>, <strong>&#8212;user-agent</strong>=USER_AGENT <strong>-U</strong>, <strong>&#8212;user-agent</strong>=USER_AGENT
</dt> </dt>
@ -1559,6 +1650,65 @@ you can resume the download without a control file by giving
<pre><tt>aria2c --check-integrity=true file.torrent</tt></pre> <pre><tt>aria2c --check-integrity=true file.torrent</tt></pre>
</div></div> </div></div>
</div> </div>
<h2 id="_server_performance_profile">SERVER PERFORMANCE PROFILE</h2>
<div class="sectionbody">
<div class="para"><p>This section describes the format of server performance profile.
The file is plain text and each line has several NAME=VALUE pair, delimited by
comma.
Currently following NAMEs are recognized:</p></div>
<div class="vlist"><dl>
<dt>
host
</dt>
<dd>
<p>
Hostname of the server. Required.
</p>
</dd>
<dt>
protocol
</dt>
<dd>
<p>
Protocol for this profile, such as ftp, http. Required.
</p>
</dd>
<dt>
dl_speed
</dt>
<dd>
<p>
The average download speed observed in the previous download in bytes per sec.
Required.
</p>
</dd>
<dt>
last_updated
</dt>
<dd>
<p>
Last contact time in GMT with this server, specified in the seconds from the
Epoch. Required.
</p>
</dd>
<dt>
status
</dt>
<dd>
<p>
ERROR is set when server cannot be reached or out-of-service or timeout
occurred. Otherwise, OK is set.
</p>
</dd>
</dl></div>
<div class="para"><p>Those fields must exist in one line. The order of the fields is not significant.You can put pairs other than above; they are simply ignored.</p></div>
<div class="para"><p>An example is follow:</p></div>
<div class="listingblock">
<div class="content">
<pre><tt>host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK
host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR</tt></pre>
</div></div>
</div>
<h2 id="_files">FILES</h2> <h2 id="_files">FILES</h2>
<div class="sectionbody"> <div class="sectionbody">
<h3 id="_aria2_conf">aria2.conf</h3><div style="clear:left"></div> <h3 id="_aria2_conf">aria2.conf</h3><div style="clear:left"></div>
@ -1621,7 +1771,7 @@ files in the program, then also delete it here.</p></div>
</div> </div>
<div id="footer"> <div id="footer">
<div id="footer-text"> <div id="footer-text">
Last updated 2008-08-14 01:31:21 JST Last updated 2008-09-27 14:30:38 JST
</div> </div>
</div> </div>
</body> </body>

View File

@ -54,13 +54,19 @@ Basic Options
The help messages are classified in several categories. The help messages are classified in several categories.
For example, type "*--help*=http" for detailed explanation for the options For example, type "*--help*=http" for detailed explanation for the options
related to HTTP. If no matching category is found, search option name using related to HTTP. If no matching category is found, search option name using
a given word in forward match and print the result. a given word in middle match and print the result.
Available Values: 'basic', 'advanced', 'http', 'ftp', 'metalink', Available Values: 'basic', 'advanced', 'http', 'ftp', 'metalink',
'bittorrent', 'all' 'bittorrent', 'all'
Default: 'basic' Default: 'basic'
HTTP/FTP Options HTTP/FTP Options
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
*--connect-timeout*=SEC::
Set the connect timeout in seconds to establish connection to
HTTP/FTP/proxy server. After the connection is established, this
option makes no effect and *--timeout* option is used instead.
Default: '60'
*--lowest-speed-limit*=SPEED:: *--lowest-speed-limit*=SPEED::
Close connection if download speed is lower than or equal to this Close connection if download speed is lower than or equal to this
value(bytes per sec). value(bytes per sec).
@ -69,6 +75,13 @@ HTTP/FTP Options
This option does not affect BitTorrent downloads. This option does not affect BitTorrent downloads.
Default: '0' Default: '0'
*--max-file-not-found*=NUM::
If aria2 recieves `file not found' status from the remote HTTP/FTP
servers NUM times without getting a single byte, then force the
download to fail. Specify '0' to disable this option. This options is
only effective only when using HTTP/FTP servers.
Default: '0'
*-m*, *--max-tries*=N:: *-m*, *--max-tries*=N::
Set number of tries. '0' means unlimited. Set number of tries. '0' means unlimited.
Default: '5' Default: '5'
@ -82,11 +95,32 @@ The file name specified here is only used when the URLs fed to aria2
is done by command line without *-i*, *-Z* option, like this: is done by command line without *-i*, *-Z* option, like this:
aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip
*-R*, *--remote-time*[='true'|'false']::
Retrieve timestamp of the remote file from the remote HTTP/FTP
server and if it is available, apply it to the local file.
Default: 'false'
*--retry-wait*=SEC:: *--retry-wait*=SEC::
Set the seconds to wait to retry after an error has occured. Set the seconds to wait to retry after an error has occured.
Specify a value between '0' and '60'. Specify a value between '0' and '60'.
Default: '5' Default: '5'
*--server-stat-of*=FILE::
Specify the filename to which performance profile of the servers is
saved. You can load saved data using *--server-stat-if* option. See
SERVER PERFORMANCE PROFILE section below for file format.
*--server-stat-if*=FILE::
Specify the filename to load performance profile of the servers. The
loaded data will be used in some URI selector such as 'feedback'.
See also *--uri-selector* option. See SERVER PERFORMANCE PROFILE
section below for file format.
*--server-stat-timeout*=SEC::
Specifies timeout in seconds to invalidate performance profile of
the servers since the last contact to them.
Default: '86400' (24hours)
*-s*, *--split*=N:: *-s*, *--split*=N::
Download a file using N connections. Download a file using N connections.
If more than N URLs are given, first N URLs are used and remaining URLs are If more than N URLs are given, first N URLs are used and remaining URLs are
@ -100,6 +134,17 @@ aria2c -o myfile.zip http://mirror1/file.zip http://mirror2/file.zip
Set timeout in seconds. Set timeout in seconds.
Default: '60' Default: '60'
*--uri-selector*=SELECTOR::
Specify URI selection algorithm. Possible values are 'inorder' and
'feedback'. If 'inorder' is given, URI is tried in the order
appeared in the URI list. If 'feedback' is given, aria2 uses
download speed observed in the previous downloads and choose fastest
server in the URI list. This also effectively skips dead
mirrors. The observed download speed is a part of performance
profile of servers mentioned in *--server-stat-of* and
*--server-stat-if* options.
Default: 'inorder'
HTTP Specific Options HTTP Specific Options
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
*--http-auth-scheme*=SCHEME:: *--http-auth-scheme*=SCHEME::
@ -144,7 +189,11 @@ HTTP Specific Options
aria2c *--header*="X-A: b78" *--header*="X-B: 9J1" http://host/file aria2c *--header*="X-A: b78" *--header*="X-B: 9J1" http://host/file
*--load-cookies*=FILE:: *--load-cookies*=FILE::
Load Cookies from FILE using the Mozilla/Firefox(1.x/2.x) and Netscape format. Load Cookies from FILE using the Firefox3 format(SQLite3) and the
Mozilla/Firefox(1.x/2.x)/Netscape format.
[NOTE]
If aria2 is build without libsqlite3, then it doesn't support Firefox3 cookie.
*-U*, *--user-agent*=USER_AGENT:: *-U*, *--user-agent*=USER_AGENT::
Set user agent for HTTP(S) downloads. Set user agent for HTTP(S) downloads.
@ -735,6 +784,39 @@ You can seed downloaded file using --check-integrity=true option.
aria2c --check-integrity=true file.torrent aria2c --check-integrity=true file.torrent
--------------------------------------------- ---------------------------------------------
SERVER PERFORMANCE PROFILE
--------------------------
This section describes the format of server performance profile.
The file is plain text and each line has several NAME=VALUE pair, delimited by
comma.
Currently following NAMEs are recognized:
host::
Hostname of the server. Required.
protocol::
Protocol for this profile, such as ftp, http. Required.
dl_speed::
The average download speed observed in the previous download in bytes per sec.
Required.
last_updated::
Last contact time in GMT with this server, specified in the seconds from the
Epoch. Required.
status::
ERROR is set when server cannot be reached or out-of-service or timeout
occurred. Otherwise, OK is set.
Those fields must exist in one line. The order of the fields is not significant.You can put pairs other than above; they are simply ignored.
An example is follow:
--------------------------------------------------------------------------------
host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK
host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR
--------------------------------------------------------------------------------
FILES FILES
----- -----
aria2.conf aria2.conf