2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Updated usage
	* src/version_usage.cc

	Updated man page
	* doc/aria2c.1.txt
	* doc/aria2c.1

	Updated po files
	* po/aria2c.pot
	* po/*.po
	* po/*.gmo
pull/1/head
Tatsuhiro Tsujikawa 2007-11-29 14:22:37 +00:00
parent 4a59e5899a
commit 23a41fba06
15 changed files with 2253 additions and 1729 deletions

View File

@ -1,3 +1,17 @@
2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated usage
* src/version_usage.cc
Updated man page
* doc/aria2c.1.txt
* doc/aria2c.1
Updated po files
* po/aria2c.pot
* po/*.po
* po/*.gmo
2007-11-29 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Eliminated g++-4.2 warning

View File

@ -1,11 +1,11 @@
.\" Title: aria2c
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
.\" Date: 11/23/2007
.\" Date: 11/29/2007
.\" Manual:
.\" Source:
.\"
.TH "ARIA2C" "1" "11/23/2007" "" ""
.TH "ARIA2C" "1" "11/29/2007" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@ -20,9 +20,9 @@ aria2c - The ultra fast download utility
\fIaria2c\fR [OPTIONS] \-M METALINK_FILE
.sp
.SH "DESCRIPTION"
aria2 is a utility for downloading files\. The supporting protocols are http(s)/ftp/BitTorrent/Metalink\. aria2 has powerful segmented downloading ability, downloading a file from multiple sources and multiple protocols, utilizing your download bandwidth to the max\. It even supports downloading a file from http(s)/ftp and BitTorrent at the same time, while the data downloaded form http(s)/ftp is uploaded to BitTorrent swarm\.
aria2 is a utility for downloading files\. The supported protocols are http(s)/ftp/BitTorrent/Metalink\. aria2 has powerful segmented downloading ability, downloading a file from multiple sources and multiple protocols, utilizing your download bandwidth to the max\. It even supports downloading a file from http(s)/ftp and BitTorrent at the same time, while the data downloaded form http(s)/ftp is uploaded to BitTorrent swarm\.
.sp
aria2 also provides most reliable http(s)/ftp downloading experience ever\. Using Metalink\'s chunk checksums, aria2 automatically validates chunk of data while downloading like BitTorrent\.
aria2 also provides most reliable http(s)/ftp downloading experience ever\. Using Metalink\'s chunk checksums, aria2 automatically validates chunk of data while downloading a file like BitTorrent\.
.sp
.SH "OPTIONS"
.PP
@ -216,6 +216,12 @@ or
\fI5M\fR
.RE
.PP
\-\-enable\-direct\-io[=\fItrue\fR|\fIfalse\fR]
.RS 4
Enable directI/O, which lowers cpu usage while allocating files\. Turn off if you encounter any error\. Default:
\fIfalse\fR
.RE
.PP
\-\-allow\-overwrite=\fItrue\fR|\fIfalse\fR
.RS 4
If
@ -240,7 +246,7 @@ Rename file name if the same file already exists\. This option works only in htt
\-P, \-\-parameterized\-uri[=\fItrue\fR|\fIfalse\fR]
.RS 4
Enable parameterized URI support\. You can specify set of parts:
\fI\ehttp://{sv1,sv2,sv3}/foo\.iso\fR\. Also you can specify numeric sequences with step counter:
\fIhttp://{sv1,sv2,sv3}/foo\.iso\fR\. Also you can specify numeric sequences with step counter:
\fIhttp://host/image[000\-100:2]\.img\fR\. 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:
\fIfalse\fR
.RE
@ -325,12 +331,9 @@ In multi file torrent, the adjacent files specified by this option may also be d
The path to the \.torrent file\.
.RE
.PP
\-\-follow\-torrent=\fItrue\fR|\fIfalse\fR
\-\-follow\-torrent=\fItrue\fR|\fIfalse\fR|\fImem\fR
.RS 4
Set to
\fIfalse\fR
to prevent aria2 from entering BitTorrent mode even if the filename of the downloaded file ends with \.torrent\. Default:
\fItrue\fR
If true or mem is specified, when a file whose suffix is \.metaink or content type is application/x\-bittorrent is downloaded, aria2 parses it as a torrent file and downloads files mentioned in it\. If mem is specified, a metalink file is not written to the disk, but is just kept in memory\. If false is specified, the action mentioned above is not taken\. Default: true
.RE
.PP
\-\-direct\-file\-mapping=\fItrue\fR|\fIfalse\fR
@ -412,9 +415,9 @@ The location of the preferred server\. A comma\-deliminated list of locations is
\fIJP,US\fR\.
.RE
.PP
\-\-follow\-metalink=\fItrue\fR|\fIfalse\fR
\-\-follow\-metalink=\fItrue\fR|\fIfalse\fR|\fImem\fR
.RS 4
Set to false to prevent aria2 from entering Metalink mode even if the filename of the downloaded file ends with \.metalink\. Default:
If true or mem is specified, when a file whose suffix is \.metaink or content type is application/metalink+xml is downloaded, aria2 parses it as a metalink file and downloads files mentioned in it\. If mem is specified, a metalink file is not written to the disk, but is just kept in memory\. If false is specified, the action mentioned above is not taken\. Default:
\fItrue\fR
.RE
.PP
@ -531,7 +534,7 @@ Download files with remote Metalink
.sp
.RS 4
.nf
aria2c http://host/file\.metalink
aria2c \-\-follow\-metalink=mem http://host/file\.metalink
.fi
.RE
.RE
@ -604,7 +607,7 @@ Download files from remote BitTorrent file
.sp
.RS 4
.nf
aria2c \-o test\.torrent http://host/file\.torrent
aria2c \-\-follow\-bittorrent=mem http://host/file\.torrent
.fi
.RE
.RE
@ -861,6 +864,27 @@ aria2c \-Z \-P http://host/image[A\-Z:2]\.png
.fi
.RE
.RE
.SH "RESUME DOWNLOAD"
Usually, you can resume transfer by just issuing same command(aria2c URL) if the previous transfer is made by aria2\.
.sp
If the previous transfer is made by a browser or wget like sequencial download manager, then use \-c option to continue the transfer(aria2c \-c URL)\.
.sp
.SH "CONTROL FILE"
aria2 uses a control file to keep track the progress of download\. A control file is placed at the same directory of the dowloading file and its filename is the filename of downloading file with "\.aria2" appended\. For example, if you are downloading file\.zip, then the control file should be file\.zip\.aria2\. (There is a exception for this naming convention\. If you are downloading a multi torrent, its control file is the "top directory" name of the torrent with "\.aria2" appended\. The "top directory" name is a value of "name" key in "info" directory in a torrent file\.)
.sp
Usually a control file is deleted once download completed\. If aria2 decides that download cannot be resumed(for example, when downloading a file from a http server which doesn\'t support resume), a control file is not created\.
.sp
Normally if you lose a control file, you cannot resume download\. But if you have a torrent or metalink with chunk checksums for the file, you can resume the download without a control file by giving \-\-check\-integrity=true option to aria2c in command\-line\.
.sp
.SH "SEEDING DOWNLOADED FILE IN BITTORRENT"
You can seed downloaded file using \-\-check\-integrity=true option\.
.sp
.sp
.RS 4
.nf
aria2c \-\-check\-integrity=true \-T file\.torrent
.fi
.RE
.SH "FILES"
.SS "aria2\.conf"
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 \fI\-\-\fR prefix\. The lines beginning \fI#\fR are treated as comments\.
@ -872,7 +896,7 @@ User configuration file\. It must be placed under ~/\.aria2 and must be named as
file\-allocation=prealloc
listen\-port=60000
seed\-ratio=1\.0
max\-upload\-limit=40K
max\-upload\-limit=100K
ftp\-pasv=true
.fi
.RE

View File

@ -17,14 +17,14 @@ SYNOPSIS
DESCRIPTION
-----------
aria2 is a utility for downloading files.
The supporting protocols are http(s)/ftp/BitTorrent/Metalink.
The supported protocols are http(s)/ftp/BitTorrent/Metalink.
aria2 has powerful segmented downloading ability, downloading a file
from multiple sources and multiple protocols, utilizing your download bandwidth to the max.
It even supports downloading a file from http(s)/ftp and BitTorrent at the same time, while the data downloaded form http(s)/ftp is uploaded to BitTorrent swarm.
aria2 also provides most reliable http(s)/ftp downloading experience ever.
Using Metalink's chunk checksums, aria2 automatically validates chunk of data
while downloading like BitTorrent.
while downloading a file like BitTorrent.
OPTIONS
-------
@ -134,7 +134,12 @@ OPTIONS
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'
--enable-direct-io[='true'|'false']::
Enable directI/O, which lowers cpu usage while allocating files.
Turn off if you encounter any error.
Default: 'false'
--allow-overwrite='true'|'false'::
If 'false' is given, aria2 doesn't download a file which already exists but
the corresponding .aria2 file doesn't exist.
@ -155,7 +160,7 @@ OPTIONS
-P, --parameterized-uri[='true'|'false']::
Enable parameterized URI support.
You can specify set of parts: '\http://{sv1,sv2,sv3}/foo.iso'.
You can specify set of parts: 'http://{sv1,sv2,sv3}/foo.iso'.
Also you can specify numeric sequences with step counter:
'\http://host/image[000-100:2].img'.
A step counter can be omitted.
@ -232,10 +237,14 @@ OPTIONS
-T, --torrent-file=TORRENT_FILE::
The path to the .torrent file.
--follow-torrent='true'|'false'::
Set to 'false' to prevent aria2 from entering BitTorrent mode even if the
filename of the downloaded file ends with .torrent.
Default: 'true'
--follow-torrent='true'|'false'|'mem'::
If true or mem is specified, when a file whose suffix is .metaink or content
type is application/x-bittorrent is downloaded, aria2 parses it as a torrent
file and downloads files mentioned in it.
If mem is specified, a metalink file is not written to the disk, but is just
kept in memory.
If false is specified, the action mentioned above is not taken.
Default: true
--direct-file-mapping='true'|'false'::
Directly read from and write to each file mentioned in .torrent file.
@ -283,22 +292,26 @@ OPTIONS
aria2 respects them.
Default: '5'
--metalink-version=VERSION::
--metalink-version=VERSION::
The version of the file to download.
--metalink-language=LANGUAGE::
--metalink-language=LANGUAGE::
The language of the file to download.
--metalink-os=OS::
--metalink-os=OS::
The operating system of the file to download.
--metalink-location=LOCATION[,...]::
--metalink-location=LOCATION[,...]::
The location of the preferred server.
A comma-deliminated list of locations is acceptable, for example, 'JP,US'.
--follow-metalink='true'|'false'::
Set to false to prevent aria2 from entering Metalink mode even if the
filename of the downloaded file ends with .metalink.
--follow-metalink='true'|'false'|'mem'::
If true or mem is specified, when a file whose suffix is .metaink or content
type is application/metalink+xml is downloaded, aria2 parses it as a metalink
file and downloads files mentioned in it.
If mem is specified, a metalink file is not written to the disk, but is just
kept in memory.
If false is specified, the action mentioned above is not taken.
Default: 'true'
-v, --version::
@ -358,9 +371,9 @@ Metalink Download
~~~~~~~~~~~~~~~~~
Download files with remote Metalink
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--------------------------------
aria2c http://host/file.metalink
--------------------------------
------------------------------------------------------
aria2c --follow-metalink=mem http://host/file.metalink
------------------------------------------------------
Download using a local metalink file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -390,9 +403,9 @@ BitTorrent Download
~~~~~~~~~~~~~~~~~~~
Download files from remote BitTorrent file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-----------------------------------------------
aria2c -o test.torrent http://host/file.torrent
-----------------------------------------------
-------------------------------------------------------
aria2c --follow-bittorrent=mem http://host/file.torrent
-------------------------------------------------------
Download using a local torrent file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -501,6 +514,43 @@ You can specify step counter:
aria2c -Z -P http://host/image[A-Z:2].png
-----------------------------------------
RESUME DOWNLOAD
---------------
Usually, you can resume transfer by just issuing same command(aria2c URL)
if the previous transfer is made by aria2.
If the previous transfer is made by a browser or wget like sequencial
download manager, then use -c option to continue the transfer(aria2c -c URL).
CONTROL FILE
------------
aria2 uses a control file to keep track the progress of download.
A control file is placed at the same directory of the dowloading file and
its filename is the filename of downloading file with ".aria2" appended.
For example, if you are downloading file.zip, then the control file should be
file.zip.aria2.
(There is a exception for this naming convention.
If you are downloading a multi torrent, its control file is the "top directory"
name of the torrent with ".aria2" appended.
The "top directory" name is a value of "name" key in "info" directory in a torrent file.)
Usually a control file is deleted once download completed.
If aria2 decides that download cannot be resumed(for example, when downloading
a file from a http server which doesn't support resume), a control file is
not created.
Normally if you lose a control file, you cannot resume download.
But if you have a torrent or metalink with chunk checksums for the file,
you can resume the download without a control file by giving
--check-integrity=true option to aria2c in command-line.
SEEDING DOWNLOADED FILE IN BITTORRENT
-------------------------------------
You can seed downloaded file using --check-integrity=true option.
---------------------------------------------
aria2c --check-integrity=true -T file.torrent
---------------------------------------------
FILES
-----
aria2.conf
@ -516,7 +566,7 @@ The lines beginning '#' are treated as comments.
file-allocation=prealloc
listen-port=60000
seed-ratio=1.0
max-upload-limit=40K
max-upload-limit=100K
ftp-pasv=true
--------------------------------------

File diff suppressed because it is too large Load Diff

BIN
po/de.gmo

Binary file not shown.

682
po/de.po

File diff suppressed because it is too large Load Diff

BIN
po/fr.gmo

Binary file not shown.

682
po/fr.po

File diff suppressed because it is too large Load Diff

BIN
po/ja.gmo

Binary file not shown.

660
po/ja.po

File diff suppressed because it is too large Load Diff

BIN
po/nl.gmo

Binary file not shown.

600
po/nl.po

File diff suppressed because it is too large Load Diff

BIN
po/ru.gmo

Binary file not shown.

637
po/ru.po

File diff suppressed because it is too large Load Diff

View File

@ -168,7 +168,6 @@ void showUsage() {
cout << _(" --enable-direct-io[=true|false] Enable directI/O, which lowers cpu usage while\n"
" allocating files.\n"
" Turn off if you encounter any error") << "\n"
" Tested in Linux 2.6.21" << "\n"
<< DEFAULT_MSG << "false" << "\n";
#endif // ENABLE_DIRECT_IO
cout << _(" --allow-overwrite=true|false If false, aria2 doesn't download a file which\n"