| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494 | .\"     Title: aria2c.\"    Author: .\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>.\"      Date: 06/23/2007.\"    Manual: .\"    Source: .\".TH "ARIA2C" "1" "06/23/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 downloaded file..RE.PP\-o, \-\-out=FILE.RS 4The file name for downloaded file..RE.PP\-l, \-\-log=LOG.RS 4The file path to store log. 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 amount of time in second between requests for errors. Specify a value between\fI0\fRand\fI60\fR. Default:\fI5\fR.RE.PP\-t, \-\-timeout=SEC.RS 4Set timeout in second. Default:\fI60\fR.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 to all URLs..RE.PP\-\-http\-user=USER.RS 4Set HTTP user. This affects to all URLs..RE.PP\-\-http\-passwd=PASSWD.RS 4Set HTTP password. This affects to all URLs..RE.PP\-\-http\-proxy\-user=USER.RS 4Set HTTP proxy user. This affects to all URLs.RE.PP\-\-http\-proxy\-passwd=PASSWD.RS 4Set HTTP proxy password. This affects to 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 to all URLs..RE.PP\-\-ftp\-user=USER.RS 4Set FTP user. This affects to all URLs. Default:\fIanonymous\fR.RE.PP\-\-ftp\-passwd=PASSWD.RS 4Set FTP password. This affects to all URLs. Default:\fIARIA2USER@\fR.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 care lowest speed limit. You can append\fIK\fRor\fIM\fR(1K = 1024, 1M = 1024K). This option does not affect BitTorrent download. Default:\fI0\fR.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.\fIMETHOD\fRis 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 file. Default:\fInone\fR.RE.PP\-\-allow\-overwrite=true|false.RS 4If this option set to\fIfalse\fR, aria2 doesn't download a file which already exists in the file system but its corresponding .aria2 file doesn't exist. Default:\fIfalse\fR.RE.PP\-\-check\-integrity=true|false.RS 4Check file integrity by validating piece hash. This option makes effect in BitTorrent download and Metalink with chunk checksums. Use this option to redownload a damaged portion of file. You may need to specify\fI\-\-allow\-overwrite=true\fRoption if .aria2 file doesn't exist. Default:\fIfalse\fR.RE.PP\-\-realtime\-chunk\-checksum=true|false.RS 4Validate chunk checksum while downloading a file in Metalink mode. This option makes effect in Metalink with chunk checksums. Default:\fItrue\fR.RE.PP\-c, \-\-continue.RS 4Continue downloading a partially downloaded file. Use this option to resume a download started by web browsers or another programs which download files sequentially from the beginning. Currently this option is 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\fIFILE\fR. You can specify multiple URIs for a single entity: deliminate URIs by Tab in a single line..RE.PP\-j, \-\-max\-concurrent\-downloads=N.RS 4Set maximum number of concurrent downloads. Default:\fI5\fR.RE.PP\-\-load\-cookies=FILE.RS 4Load cookies from\fIFILE\fR. The format of\fIFILE\fRis one used by Netscape and Mozilla..RE.PP\-T, \-\-torrent\-file=TORRENT_FILE.RS 4The file path to .torrent file..RE.PP\-\-follow\-torrent=true|false.RS 4Setting this option to\fIfalse\fRprevents aria2 to enter BitTorrent mode even if the filename of downloaded file ends with .torrent. Default:\fItrue\fR.RE.PP\-S, \-\-show\-files.RS 4Print file listing of .torrent file and exit..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 port number to listen to for peer connection. 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\-\-select\-file=INDEX\&....RS 4Set file to download by specifing its index. You can know file index through\fI\-\-show\-files\fRoption. Multiple indexes can be specified by using\fI,\fRlike "3,6". You can also use\fI\-\fRto specify rangelike "1\-5".\fI,\fRand\fI\-\fRcan be used together..RE.PP\-\-seed\-time=MINUTES.RS 4Specify seeding time in minutes. See also\fI\-\-seed\-ratio\fRoption..RE.PP\-\-seed\-ratio=RATIO.RS 4Specify share ratio. Seed completed torrents until share ratio reaches\fIRATIO\fR.\fI1.0\fRis encouraged. If\fI\-\-seed\-time\fRoption is specified along with this option, seeding ends when at least one of the conditions is satisfied..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 file to download..RE.PP\-\-metalink\-language=LANGUAGE.RS 4The language of file to download..RE.PP\-\-metalink\-os=OS.RS 4The operating system the file is targeted..RE.PP\-\-metalink\-location=LOCATION.RS 4The location of the prefered server..RE.PP\-\-follow\-metalink=true|false.RS 4Setting this option to\fIfalse\fRprevents aria2 to enter Metalink mode even if the filename of downloaded file ends with .metalink. Default:\fItrue\fR.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 fails..RE.PPFILE.RS 4Specify files in multi\-file torrent to download. Use conjunction with\fI\-T\fRoption. This arguments are ignored if you specify\fI\-\-select\-file\fRoption..RE.SH "EXAMPLES".PPDownload a file by 1 connection.RS 4aria2c http://AAA.BBB.CCC/file.zip.RE.PPDownload a file by 2 connections.RS 4aria2c \-s 2 http://AAA.BBB.CCC/file.zip.RE.PPDownload a file by 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 a torrent.RS 4aria2c \-o test.torrent http://AAA.BBB.CCC/file.torrent.RE.PPDownload a torrent using 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.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 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.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
 |