| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550 | .\"     Title: aria2c.\"    Author: .\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>.\"      Date: 10/29/2007.\"    Manual: .\"    Source: .\".TH "ARIA2C" "1" "10/29/2007" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"aria2c - The high speed download utility.SH "SYNOPSIS".sp.RS 4.nfaria2c [OPTIONS] URL \.\.\.aria2c [OPTIONS] \-T TORRENT_FILE FILE \.\.\.aria2c [OPTIONS] \-M METALINK_FILE.fi.RE.SH "DESCRIPTION"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\..spPlease visit the project web site at http://aria2\.sourceforge\.net/.sp.SH "OPTIONS".PP\-d, \-\-dir=DIR.RS 4The directory to store the downloaded file\..RE.PP\-o, \-\-out=FILE.RS 4The file name of the downloaded file\..RE.PP\-l, \-\-log=LOG.RS 4The file name of the log file\. If\fI\-\fRis specified, log is written to stdout\..RE.PP\-D, \-\-daemon.RS 4Run as daemon\..RE.PP\-s, \-\-split=N.RS 4Download a file using\fIN\fRconnections\.\fIN\fRmust be between\fI1\fRand\fI5\fR\. This option affects all URLs\. Thus, aria2 connects to each URL with\fIN\fRconnections\. Default:\fI1\fR.RE.PP\-\-retry\-wait=SEC.RS 4Set the seconds to wait to retry after an error has occured\. Specify a value between 0 and 60\. Default: 5.RE.PP\-t, \-\-timeout=SEC.RS 4Set timeout in seconds\. Default: 60.RE.PP\-m, \-\-max\-tries=N.RS 4Set number of tries\.\fI0\fRmeans unlimited\. Default:\fI5\fR.RE.PP\-\-http\-proxy=HOST:PORT.RS 4Use HTTP proxy server\. This affects all URLs\..RE.PP\-\-http\-user=USER.RS 4Set HTTP user\. This affects all URLs\..RE.PP\-\-http\-passwd=PASSWD.RS 4Set HTTP password\. This affects all URLs\..RE.PP\-\-http\-proxy\-user=USER.RS 4Set HTTP proxy user\. This affects all URLs\..RE.PP\-\-http\-proxy\-passwd=PASSWD.RS 4Set HTTP proxy password\. This affects all URLs\..RE.PP\-\-http\-proxy\-method=METHOD.RS 4Set the method to use in proxy request\.\fIMETHOD\fRis either\fIget\fRor\fItunnel\fR\. Default:\fItunnel\fR.RE.PP\-\-http\-auth\-scheme=SCHEME.RS 4Set HTTP authentication scheme\. Currently,\fIbasic\fRis the only supported scheme\. Default:\fIbasic\fR.RE.PP\-\-referer=REFERER.RS 4Set Referer\. This affects all URLs\..RE.PP\-\-ftp\-user=USER.RS 4Set FTP user\. This affects all URLs\. Default: anonymous.RE.PP\-\-ftp\-passwd=PASSWD.RS 4Set FTP password\. This affects all URLs\. Default: ARIA2USER@.RE.PP\-\-ftp\-type=TYPE.RS 4Set FTP transfer type\. TYPE is either\fIbinary\fRor\fIascii\fR\. Default:\fIbinary\fR.RE.PP\-p, \-\-ftp\-pasv.RS 4Use passive mode in FTP\..RE.PP\-\-ftp\-via\-http\-proxy=METHOD.RS 4Use HTTP proxy in\fIFTP\fR\.\fIMETHOD\fRis either\fIget\fRor\fItunnel\fR\. Default:\fItunnel\fR.RE.PP\-\-lowest\-speed\-limit=SPEED.RS 4Close 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.RE.PP\-\-max\-download\-limit=SPEED.RS 4Set max download speed in bytes per sec\.\fI0\fRmeans unrestricted\. You can append\fIK\fRor\fIM\fR(1K = 1024, 1M = 1024K)\. Default:\fI0\fR.RE.PP\-\-file\-allocation=METHOD.RS 4Specify file allocation method\. METHOD is either\fInone\fRor\fIprealloc\fR\.\fInone\fRdoesn\'t pre\-allocate file space\.\fIprealloc\fRpre\-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 4No file allocation is made for files whose size is smaller than SIZE\. You can append K or M(1K = 1024, 1M = 1024K)\. Default: 5M.RE.PP\-\-allow\-overwrite=true|false.RS 4If 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 4Fetch 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 4Rename 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 4Enable parameterized URI support\. You can specify set of parts:.RE.sp.RS 4.nfhttp://{sv1,sv2,sv3}/foo\.iso.fi.RE.sp.RS 4.nfAlso you can specify numeric sequences with stepcounter:.fi.RE.sp.RS 4.nfhttp://host/image[000\-100:2]\.img.fi.RE.sp.RS 4.nfA step counter can be omitted\.If all URIs do not point to the same file, suchas the second example above, \-Z option isrequired\.Default: false.fi.RE.PP\-\-check\-integrity=true|false.RS 4Check 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.RE.PP\-\-realtime\-chunk\-checksum=true|false.RS 4Validate chunk checksum while downloading a file in Metalink mode\. This option on affects Metalink mode with chunk checksums\. Default: true.RE.PP\-c, \-\-continue.RS 4Continue 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\..RE.PP\-U, \-\-user\-agent=USER_AGENT.RS 4Set user agent for http(s) downloads\..RE.PP\-n, \-\-no\-netrc.RS 4Disables netrc support\..RE.PP\-i, \-\-input\-file=FILE.RS 4Downloads 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\fI\-\fRis specified\..RE.PP\-j, \-\-max\-concurrent\-downloads=N.RS 4Set maximum number of concurrent downloads\. It should be used with the \-i option\. Default: 5.RE.PP\-\-load\-cookies=FILE.RS 4Load cookies from FILE\. The format of FILE is the same used by Netscape and Mozilla\..RE.PP\-S, \-\-show\-files.RS 4Print file listing of \.torrent or \.metalink file and exit\..RE.PP\-\-select\-file=INDEX\&....RS 4Set 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\fI\-\fRto specify a range: "1\-5"\.\fI,\fRand\fI\-\fRcan be used together\. When used with the \-M option, index may vary depending on the query(see \-\-metalink\-* options)\..RE.PP\-T, \-\-torrent\-file=TORRENT_FILE.RS 4The path to the \.torrent file\..RE.PP\-\-follow\-torrent=true|false.RS 4Set to false to prevent aria2 from entering BitTorrent mode even if the filename of the downloaded file ends with \.torrent\. Default: true.RE.PP\-\-direct\-file\-mapping=true|false.RS 4Directly read from and write to each file mentioned in \.torrent file\. Default:\fItrue\fR.RE.PP\-\-listen\-port=PORT.RS 4Set TCP port number for BitTorrent downloads\. Default: 6881\-6999.RE.PP\-\-max\-upload\-limit=SPEED.RS 4Set max upload speed in bytes per sec\.\fI0\fRmeans unrestricted\. You can append\fIK\fRor\fIM\fR(1K = 1024, 1M = 1024K)\. Default:\fI0\fR.RE.PP\-\-seed\-time=MINUTES.RS 4Specify seeding time in minutes\. Also see the \-\-seed\-ratio option\..RE.PP\-\-seed\-ratio=RATIO.RS 4Specify 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\..RE.PP\-\-peer\-id\-prefix=PEERI_ID_PREFIX.RS 4Specify 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\-.RE.PP\-M, \-\-metalink\-file=METALINK_FILE.RS 4The file path to \.metalink file\..RE.PP\-C, \-\-metalink\-servers=NUM_SERVERS.RS 4The number of servers to connect to simultaneously\. Default:\fI5\fR.RE.PP\-\-metalink\-version=VERSION.RS 4The version of the file to download\..RE.PP\-\-metalink\-language=LANGUAGE.RS 4The language of the file to download\..RE.PP\-\-metalink\-os=OS.RS 4The operating system of the file to download\..RE.PP\-\-metalink\-location=LOCATION.RS 4The location of the prefered server\..RE.PP\-\-follow\-metalink=true|false.RS 4Set to false to prevent aria2 from entering Metalink mode even if the filename of the downloaded file ends with \.metalink\. Default: true.RE.PP\-v, \-\-version.RS 4Print the version number and exit\..RE.PP\-h, \-\-help.RS 4Print this message and exit\..RE.PPURL.RS 4You can specify multiple URLs\. All URLs must point to the same file or downloading will fail\..RE.PPFILE.RS 4Specify 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\..RE.SH "EXAMPLES".PPDownload a file using 1 connection.RS 4aria2c http://AAA\.BBB\.CCC/file\.zip.RE.PPDownload a file using 2 connections.RS 4aria2c \-s 2 http://AAA\.BBB\.CCC/file\.zip.RE.PPDownload a file using 2 connections, each connects to a different server.RS 4aria2c http://AAA\.BBB\.CCC/file\.zip http://DDD\.EEE\.FFF/GGG/file\.zip.RE.PPYou can mix up different protocols.RS 4aria2c http://AAA\.BBB\.CCC/file\.zip ftp://DDD\.EEE\.FFF/GGG/file\.zip.RE.PPDownload files listed in a text file\. 5 files are downloaded concurrently.RS 4aria2c \-i uris\.txt \-j 5.RE.PPDownload files passed through stdin.RS 4cat uris\.txt | aria2c \-i \-.RE.PPDownload a file using local cookies.RS 4aria2c \-\-load\-cookies cookies\.txt http://AAA\.BBB\.CCC/file\.zip.RE.PPParameterized URI.RS 4aria2c \-P http://{server1,server2,server3}/file\.iso.RE.PPParameterized URI\. \-Z option is required in this case.RS 4aria2c \-P \-Z http://host/file[001\-100:2]\.img.RE.PPDownload a torrent.RS 4aria2c \-o test\.torrent http://AAA\.BBB\.CCC/file\.torrent.RE.PPDownload a torrent using a local \.torrent file.RS 4aria2c \-T test\.torrent.RE.PPDownload only selected files.RS 4aria2c \-T test\.torrent dir/file1\.zip dir/file2\.zip.RE.PPDownload only selected files using index.RS 4aria2c \-T test\.torrent \-\-select\-file 1,3\-5.RE.PPPrint file listing of \.torrent file.RS 4aria2c \-T test\.torrent \-S.RE.PPMetalink downloading.RS 4aria2c \-\-lowest\-speed\-limit 10K http://AAA\.BBB\.CCC/file\.metalink.RE.PPDownload a file using a local \.metalink file.RS 4aria2c \-M test\.metalink.RE.PPMetalink downloading with preferences.RS 4aria2c \-M test\.metalink \-\-metalink\-version=1\.1\.1 \-\-metalink\-language=en\-US.RE.PPDownload only selected files.RS 4aria2c \-M test\.metalink \-\-metalink\-language=en\-US dir/file1\.zip dir/file2\.zip.RE.PPDownload only selected files using index.RS 4aria2c \-M test\.metalink \-\-metalink\-language=en\-US \-\-select\-file 1,3\-5.RE.PPPrint file listing of \.metalink file.RS 4aria2c \-M test\.metalink \-S \-\-metalink\-language=en\-US.RE.SH "FILES".PParia2\.conf.RS 4User 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\-\-\fRprefix\. The lines beginning\fI#\fRare treated as comments\..sp.RS 4.nfExample:.fi.RE.sp.RS 4.nf# sample configuration file for aria2cfile\-allocation=prealloclisten\-port=60000seed\-ratio=1\.0max\-upload\-limit=40Kftp\-pasv=true.fi.RE.RE.SH "REPORTING BUGS"Report bugs to Tatsuhiro Tsujikawa <t\-tujikawa@users\.sourceforge\.net>.sp.SH "AUTHOR"Tatsuhiro Tsujikawa <t\-tujikawa@users\.sourceforge\.net>.sp.SH "COPYRIGHT"Copyright \(co 2006, 2007 Tatsuhiro Tsujikawa.sp
 |