aria2c.1 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251
  1. .\" Title: aria2c
  2. .\" Author:
  3. .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  4. .\" Date: 08/14/2008
  5. .\" Manual:
  6. .\" Source:
  7. .\"
  8. .TH "ARIA2C" "1" "08/14/2008" "" ""
  9. .\" disable hyphenation
  10. .nh
  11. .\" disable justification (adjust text to left margin only)
  12. .ad l
  13. .SH "NAME"
  14. aria2c \- The ultra fast download utility
  15. .SH "SYNOPSIS"
  16. aria2c [\fIOPTIONS\fR] [\fIURL\fR | \fITORRENT_FILE\fR | \fIMETALINK_FILE\fR]\&...
  17. .sp
  18. .SH "DESCRIPTION"
  19. aria2 is a utility for downloading files\&. The supported protocols are HTTP(S), FTP, BitTorrent, and Metalink\&. It can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth\&. It supports downloading a file from HTTP(S)/FTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP is uploaded to the BitTorrent swarm\&. Using Metalink\'s chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent\&.
  20. .sp
  21. .SH "OPTIONS"
  22. .SS "Basic Options"
  23. .PP
  24. \fB\-d\fR, \fB\-\-dir\fR=DIR
  25. .RS 4
  26. The directory to store the downloaded file\&.
  27. .RE
  28. .PP
  29. \fB\-i\fR, \fB\-\-input\-file\fR=FILE
  30. .RS 4
  31. 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
  32. \fI\-\fR
  33. is specified\&.
  34. .RE
  35. .PP
  36. \fB\-l\fR, \fB\-\-log\fR=LOG
  37. .RS 4
  38. The file name of the log file\&. If
  39. \fI\-\fR
  40. is specified, log is written to stdout\&.
  41. .RE
  42. .PP
  43. \fB\-j\fR, \fB\-\-max\-concurrent\-downloads\fR=N
  44. .RS 4
  45. Set maximum number of parallel downloads for every static (HTTP/FTP) URL, torrent and metalink\&. Default:
  46. \fI5\fR
  47. .RE
  48. .PP
  49. \fB\-\-check\-integrity\fR=\fItrue\fR|\fIfalse\fR
  50. .RS 4
  51. 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\&. Default:
  52. \fIfalse\fR
  53. .RE
  54. .PP
  55. \fB\-c\fR, \fB\-\-continue\fR
  56. .RS 4
  57. 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\&.
  58. .RE
  59. .PP
  60. \fB\-h\fR, \fB\-\-help\fR[=CATEGORY]
  61. .RS 4
  62. 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:
  63. \fIbasic\fR,
  64. \fIadvanced\fR,
  65. \fIhttp\fR,
  66. \fIftp\fR,
  67. \fImetalink\fR,
  68. \fIbittorrent\fR,
  69. \fIall\fR
  70. Default:
  71. \fIbasic\fR
  72. .RE
  73. .SS "HTTP/FTP Options"
  74. .PP
  75. \fB\-\-lowest\-speed\-limit\fR=SPEED
  76. .RS 4
  77. Close connection if download speed is lower than or equal to this value(bytes per sec)\&.
  78. \fI0\fR
  79. means aria2 does not have a lowest speed limit\&. You can append
  80. \fIK\fR
  81. or
  82. \fIM\fR(1K = 1024, 1M = 1024K)\&. This option does not affect BitTorrent downloads\&. Default:
  83. \fI0\fR
  84. .RE
  85. .PP
  86. \fB\-m\fR, \fB\-\-max\-tries\fR=N
  87. .RS 4
  88. Set number of tries\&.
  89. \fI0\fR
  90. means unlimited\&. Default:
  91. \fI5\fR
  92. .RE
  93. .PP
  94. \fB\-o\fR, \fB\-\-out\fR=FILE
  95. .RS 4
  96. The file name of the downloaded file\&.
  97. .RE
  98. .sp
  99. .it 1 an-trap
  100. .nr an-no-space-flag 1
  101. .nr an-break-flag 1
  102. .br
  103. Note
  104. 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
  105. .PP
  106. \fB\-\-retry\-wait\fR=SEC
  107. .RS 4
  108. Set the seconds to wait to retry after an error has occured\&. Specify a value between
  109. \fI0\fR
  110. and
  111. \fI60\fR\&. Default:
  112. \fI5\fR
  113. .RE
  114. .PP
  115. \fB\-s\fR, \fB\-\-split\fR=N
  116. .RS 4
  117. 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
  118. \fI1\fR
  119. and
  120. \fI16\fR\&. Please see
  121. \fB\-j\fR
  122. option too\&. Default:
  123. \fI5\fR
  124. .RE
  125. .PP
  126. \fB\-t\fR, \fB\-\-timeout\fR=SEC
  127. .RS 4
  128. Set timeout in seconds\&. Default:
  129. \fI60\fR
  130. .RE
  131. .SS "HTTP Specific Options"
  132. .PP
  133. \fB\-\-http\-auth\-scheme\fR=SCHEME
  134. .RS 4
  135. Set HTTP authentication scheme\&. Currently,
  136. \fIbasic\fR
  137. is the only supported scheme\&. Default:
  138. \fIbasic\fR
  139. .RE
  140. .PP
  141. \fB\-\-http\-user\fR=USER
  142. .RS 4
  143. Set HTTP user\&. This affects all URLs\&.
  144. .RE
  145. .PP
  146. \fB\-\-http\-passwd\fR=PASSWD
  147. .RS 4
  148. Set HTTP password\&. This affects all URLs\&.
  149. .RE
  150. .PP
  151. \fB\-\-http\-proxy\fR=HOST:PORT
  152. .RS 4
  153. Use HTTP proxy server\&. This affects all URLs\&.
  154. .RE
  155. .PP
  156. \fB\-\-http\-proxy\-user\fR=USER
  157. .RS 4
  158. Set HTTP proxy user\&. This affects all URLs\&.
  159. .RE
  160. .PP
  161. \fB\-\-http\-proxy\-passwd\fR=PASSWD
  162. .RS 4
  163. Set HTTP proxy password\&. This affects all URLs\&.
  164. .RE
  165. .PP
  166. \fB\-\-http\-proxy\-method\fR=METHOD
  167. .RS 4
  168. Set the method to use in proxy request\&.
  169. \fIMETHOD\fR
  170. is either
  171. \fIget\fR
  172. or
  173. \fItunnel\fR\&. Default:
  174. \fItunnel\fR
  175. .RE
  176. .PP
  177. \fB\-\-referer\fR=REFERER
  178. .RS 4
  179. Set Referer\&. This affects all URLs\&.
  180. .RE
  181. .PP
  182. \fB\-\-enable\-http\-keep\-alive\fR[=\fItrue\fR|\fIfalse\fR]
  183. .RS 4
  184. Enable HTTP/1\&.1 persistent connection\&. Default:
  185. \fItrue\fR
  186. .RE
  187. .PP
  188. \fB\-\-enable\-http\-pipelining\fR[=\fItrue\fR|\fIfalse\fR]
  189. .RS 4
  190. Enable HTTP/1\&.1 pipelining\&. Default:
  191. \fIfalse\fR
  192. .RE
  193. .PP
  194. \fB\-\-header\fR=HEADER
  195. .RS 4
  196. Append HEADER to HTTP request header\&. You can use this option repeatedly to specify more than one header: aria2c
  197. \fB\-\-header\fR="X\-A: b78"
  198. \fB\-\-header\fR="X\-B: 9J1" http://host/file
  199. .RE
  200. .PP
  201. \fB\-\-load\-cookies\fR=FILE
  202. .RS 4
  203. Load Cookies from FILE using the Mozilla/Firefox(1\&.x/2\&.x) and Netscape format\&.
  204. .RE
  205. .PP
  206. \fB\-U\fR, \fB\-\-user\-agent\fR=USER_AGENT
  207. .RS 4
  208. Set user agent for HTTP(S) downloads\&.
  209. .RE
  210. .SS "FTP Specific Options"
  211. .PP
  212. \fB\-\-ftp\-user\fR=USER
  213. .RS 4
  214. Set FTP user\&. This affects all URLs\&. Default:
  215. \fIanonymous\fR
  216. .RE
  217. .PP
  218. \fB\-\-ftp\-passwd\fR=PASSWD
  219. .RS 4
  220. Set FTP password\&. This affects all URLs\&. Default:
  221. \fIARIA2USER@\fR
  222. .RE
  223. .PP
  224. \fB\-p\fR, \fB\-\-ftp\-pasv\fR
  225. .RS 4
  226. Use passive mode in FTP\&.
  227. .RE
  228. .PP
  229. \fB\-\-ftp\-type\fR=TYPE
  230. .RS 4
  231. Set FTP transfer type\&. TYPE is either
  232. \fIbinary\fR
  233. or
  234. \fIascii\fR\&. Default:
  235. \fIbinary\fR
  236. .RE
  237. .PP
  238. \fB\-\-ftp\-reuse\-connection\fR[=\fItrue\fR|\fIfalse\fR]
  239. .RS 4
  240. Reuse connection in FTP\&. Default:
  241. \fItrue\fR
  242. .RE
  243. .PP
  244. \fB\-\-ftp\-via\-http\-proxy\fR=METHOD
  245. .RS 4
  246. Use HTTP proxy in FTP\&. METHOD is either
  247. \fIget\fR
  248. or
  249. \fItunnel\fR\&. Default:
  250. \fItunnel\fR
  251. .RE
  252. .PP
  253. \fB\-n\fR, \fB\-\-no\-netrc\fR
  254. .RS 4
  255. Disables netrc support\&. netrc support is enabled by default\&.
  256. .RE
  257. .SS "BitTorrent/Metalink Options"
  258. .PP
  259. \fB\-\-select\-file\fR=INDEX\&...
  260. .RS 4
  261. Set file to download by specifing its index\&. You can find the file index using the
  262. \fB\-\-show\-files\fR
  263. option\&. Multiple indexes can be specified by using ",", for example:
  264. \fI3,6\fR\&. You can also use "\-" to specify a range:
  265. \fI1\-5\fR\&. "," and "\-" can be used together:
  266. \fI1\-5,8,9\fR\&. When used with the \-M option, index may vary depending on the query (see
  267. \fB\-\-metalink\-\fR* options)\&.
  268. .RE
  269. .sp
  270. .it 1 an-trap
  271. .nr an-no-space-flag 1
  272. .nr an-break-flag 1
  273. .br
  274. Note
  275. In multi file torrent, the adjacent files specified by this option may also be downloaded\&. This is by design, not a bug\&. A single piece may include several files or part of files, and aria2 writes the piece to the appropriate files\&.
  276. .PP
  277. \fB\-S\fR, \fB\-\-show\-files\fR
  278. .RS 4
  279. Print file listing of \&.torrent or \&.metalink file and exit\&. In case of \&.torrent file, additional information (infohash, piece length, etc) is also printed\&.
  280. .RE
  281. .SS "BitTorrent Specific Options"
  282. .PP
  283. \fB\-\-bt\-max\-open\-files\fR=NUM
  284. .RS 4
  285. Specify maximum number of files to open in each BitTorrent download\&. Default:
  286. \fI100\fR
  287. .RE
  288. .PP
  289. \fB\-\-bt\-min\-crypto\-level\fR=\fIplain\fR|\fIarc4\fR
  290. .RS 4
  291. Set minimum level of encryption method\&. If several encryption methods are provided by a peer, aria2 chooses a lowest one which satisfies the given level\&. Default:
  292. \fIplain\fR
  293. .RE
  294. .PP
  295. \fB\-\-bt\-require\-crypto\fR=\fItrue\fR|\fIfalse\fR
  296. .RS 4
  297. If true is given, aria2 doesn\'t accept and establish connection with legacy BitTorrent handshake(\e19BitTorrent protocol)\&. Thus aria2 always uses Obfuscation handshake\&. Default:
  298. \fIfalse\fR
  299. .RE
  300. .PP
  301. \fB\-\-bt\-request\-peer\-speed\-limit\fR=SPEED
  302. .RS 4
  303. In BitTorrent downloads, if the download speed is lower than SPEED, aria2 initiates and accepts connections ignoring max peer cap\&. You can append
  304. \fIK\fR
  305. or
  306. \fIM\fR(1K = 1024, 1M = 1024K)\&. Default:
  307. \fI51200\fR
  308. .RE
  309. .PP
  310. \fB\-\-bt\-seed\-unverified\fR[=\fItrue\fR|\fIfalse\fR]
  311. .RS 4
  312. Seed previously downloaded files without verifying piece hashes\&. Default:
  313. \fIfalse\fR
  314. .RE
  315. .PP
  316. \fB\-\-dht\-entry\-point\fR=HOST:PORT
  317. .RS 4
  318. Set host and port as an entry point to DHT network\&.
  319. .RE
  320. .PP
  321. \fB\-\-dht\-listen\-port\fR=PORT\&...
  322. .RS 4
  323. Set UDP listening port for DHT\&. Multiple ports can be specified by using ",", for example:
  324. \fI6881,6885\fR\&. You can also use "\-" to specify a range:
  325. \fI6881\-6999\fR\&. "," and "\-" can be used together\&. Default:
  326. \fI6881\-6999\fR
  327. .RE
  328. .PP
  329. \fB\-\-direct\-file\-mapping\fR=\fItrue\fR|\fIfalse\fR
  330. .RS 4
  331. Directly read from and write to each file mentioned in \&.torrent file\&. Use this option if lots of files are listed in \&.torrent file and aria2 complains it cannot open files anymore\&. Default:
  332. \fItrue\fR
  333. .RE
  334. .PP
  335. \fB\-\-enable\-dht\fR[=\fItrue\fR|\fIfalse\fR]
  336. .RS 4
  337. Enable DHT functionality\&. If a private flag is set in a torrent, aria2 doesn\'t use DHT for that download even if
  338. \fItrue\fR
  339. is given\&. Default:
  340. \fIfalse\fR
  341. .RE
  342. .PP
  343. \fB\-\-enable\-peer\-exchange\fR[=\fItrue\fR|\fIfalse\fR]
  344. .RS 4
  345. Enable Peer Exchange extension\&. If a private flag is set in a torrent, this feature is disabled for that download even if
  346. \fItrue\fR
  347. is given\&. Default:
  348. \fItrue\fR
  349. .RE
  350. .PP
  351. \fB\-\-follow\-torrent\fR=\fItrue\fR|\fIfalse\fR|\fImem\fR
  352. .RS 4
  353. If
  354. \fItrue\fR
  355. or
  356. \fImem\fR
  357. is specified, when a file whose suffix is "\&.torrent" or content type is "application/x\-bittorrent" is downloaded, aria2 parses it as a torrent file and downloads files mentioned in it\&. If
  358. \fImem\fR
  359. is specified, a torrent file is not written to the disk, but is just kept in memory\&. If
  360. \fIfalse\fR
  361. is specified, the action mentioned above is not taken\&. Default:
  362. \fItrue\fR
  363. .RE
  364. .PP
  365. \fB\-\-listen\-port\fR=PORT\&...
  366. .RS 4
  367. Set TCP port number for BitTorrent downloads\&. Multiple ports can be specified by using ",", for example:
  368. \fI6881,6885\fR\&. You can also use "\-" to specify a range:
  369. \fI6881\-6999\fR\&. "," and "\-" can be used together:
  370. \fI6881\-6889,6999\fR\&. Default:
  371. \fI6881\-6999\fR
  372. .RE
  373. .sp
  374. .it 1 an-trap
  375. .nr an-no-space-flag 1
  376. .nr an-break-flag 1
  377. .br
  378. Note
  379. Make sure that the specified ports are open for incoming TCP traffic\&.
  380. .PP
  381. \fB\-\-max\-upload\-limit\fR=SPEED
  382. .RS 4
  383. Set max upload speed in bytes per sec\&.
  384. \fI0\fR
  385. means unrestricted\&. You can append
  386. \fIK\fR
  387. or
  388. \fIM\fR(1K = 1024, 1M = 1024K)\&. Default:
  389. \fI0\fR
  390. .RE
  391. .PP
  392. \fB\-\-peer\-id\-prefix\fR=PEERI_ID_PREFIX
  393. .RS 4
  394. Specify the prefix of peer ID\&. The peer ID 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:
  395. \fI\-aria2\-\fR
  396. .RE
  397. .PP
  398. \fB\-\-seed\-ratio\fR=RATIO
  399. .RS 4
  400. Specify share ratio\&. Seed completed torrents until share ratio reaches] RATIO\&. I strongly encourages you to specify equals or more than
  401. \fI1\&.0\fR
  402. here\&. Specify
  403. \fI0\&.0\fR
  404. if you intend to do seeding regardless of share ratio\&. If
  405. \fB\-\-seed\-time\fR
  406. option is specified along with this option, seeding ends when at least one of the conditions is satisfied\&. Default:
  407. \fI1\&.0\fR
  408. .RE
  409. .PP
  410. \fB\-\-seed\-time\fR=MINUTES
  411. .RS 4
  412. Specify seeding time in minutes\&. Also see the
  413. \fB\-\-seed\-ratio\fR
  414. option\&.
  415. .RE
  416. .PP
  417. \fB\-T\fR, \fB\-\-torrent\-file\fR=TORRENT_FILE
  418. .RS 4
  419. The path to the \&.torrent file\&. You may not use this option because you can specify torrent file without \-T\&.
  420. .RE
  421. .SS "Metalink Specific Options"
  422. .PP
  423. \fB\-\-follow\-metalink\fR=\fItrue\fR|\fIfalse\fR|\fImem\fR
  424. .RS 4
  425. If
  426. \fItrue\fR
  427. or
  428. \fImem\fR
  429. 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
  430. \fImem\fR
  431. is specified, a metalink file is not written to the disk, but is just kept in memory\&. If
  432. \fIfalse\fR
  433. is specified, the action mentioned above is not taken\&. Default:
  434. \fItrue\fR
  435. .RE
  436. .PP
  437. \fB\-M\fR, \fB\-\-metalink\-file\fR=METALINK_FILE
  438. .RS 4
  439. The file path to \&.metalink file\&. You may not use this option because you can specify metalink file without \-M\&.
  440. .RE
  441. .PP
  442. \fB\-C\fR, \fB\-\-metalink\-servers\fR=NUM_SERVERS
  443. .RS 4
  444. The number of servers to connect to simultaneously\&. Some metalinks regulates the number of servers to connect\&. aria2 respects them\&. Default:
  445. \fI5\fR
  446. .RE
  447. .PP
  448. \fB\-\-metalink\-language\fR=LANGUAGE
  449. .RS 4
  450. The language of the file to download\&.
  451. .RE
  452. .PP
  453. \fB\-\-metalink\-location\fR=LOCATION[,\&...]
  454. .RS 4
  455. The location of the preferred server\&. A comma\-deliminated list of locations is acceptable, for example,
  456. \fIJP,US\fR\&.
  457. .RE
  458. .PP
  459. \fB\-\-metalink\-os\fR=OS
  460. .RS 4
  461. The operating system of the file to download\&.
  462. .RE
  463. .PP
  464. \fB\-\-metalink\-version\fR=VERSION
  465. .RS 4
  466. The version of the file to download\&.
  467. .RE
  468. .PP
  469. \fB\-\-metalink\-preferred\-protocol\fR=PROTO
  470. .RS 4
  471. Specify preferred protocol\&. The possible values are
  472. \fIhttp\fR,
  473. \fIhttps\fR,
  474. \fIftp\fR
  475. and
  476. \fInone\fR\&. Specifiy
  477. \fInone\fR
  478. to disable this feature\&. Default:
  479. \fInone\fR
  480. .RE
  481. .PP
  482. \fB\-\-metalink\-enable\-unique\-protocol\fR=\fItrue\fR|\fIfalse\fR
  483. .RS 4
  484. If
  485. \fItrue\fR
  486. is given and several protocols are available for a mirror in a metalink file, aria2 uses one of them\&. Use
  487. \fB\-\-metalink\-preferred\-protocol\fR
  488. option to specify the preference of protocol\&. Default:
  489. \fItrue\fR
  490. .RE
  491. .SS "Advanced Options"
  492. .PP
  493. \fB\-\-allow\-overwrite\fR=\fItrue\fR|\fIfalse\fR
  494. .RS 4
  495. If
  496. \fIfalse\fR
  497. is given, aria2 doesn\'t download a file which already exists but the corresponding \&.aria2 file doesn\'t exist\&. In HTTP(S)/FTP download, if
  498. \fB\-\-auto\-file\-renaming\fR=\fItrue\fR
  499. then, file name will be renamed\&. See
  500. \fB\-\-auto\-file\-renaming\fR
  501. for details\&. Default:
  502. \fIfalse\fR
  503. .RE
  504. .PP
  505. \fB\-\-allow\-piece\-length\-change\fR=\fItrue\fR|\fIfalse\fR
  506. .RS 4
  507. If false is given, aria2 aborts download when a piece length is different from one in a control file\&. If true is given, you can proceed but some download progress will be lost\&. Default:
  508. \fIfalse\fR
  509. .RE
  510. .PP
  511. \fB\-\-async\-dns\fR[=\fItrue\fR|\fIfalse\fR]
  512. .RS 4
  513. Enable asynchronous DNS\&. Default:
  514. \fItrue\fR
  515. .RE
  516. .PP
  517. \fB\-\-auto\-file\-renaming\fR[=\fItrue\fR|\fIfalse\fR]
  518. .RS 4
  519. 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:
  520. \fItrue\fR
  521. .RE
  522. .PP
  523. \fB\-\-conf\-path\fR=PATH
  524. .RS 4
  525. Change the configuration file path to PATH\&. Default:
  526. \fI$HOME/\&.aria2/aria2\&.conf\fR
  527. .RE
  528. .PP
  529. \fB\-D\fR, \fB\-\-daemon\fR
  530. .RS 4
  531. Run as daemon\&.
  532. .RE
  533. .PP
  534. \fB\-\-enable\-direct\-io\fR[=\fItrue\fR|\fIfalse\fR]
  535. .RS 4
  536. Enable directI/O, which lowers cpu usage while allocating/checking files\&. Turn off if you encounter any error\&. Default:
  537. \fIfalse\fR
  538. .RE
  539. .PP
  540. \fB\-\-file\-allocation\fR=METHOD
  541. .RS 4
  542. Specify file allocation method\&. METHOD is either
  543. \fInone\fR
  544. or
  545. \fIprealloc\fR\&.
  546. \fInone\fR
  547. doesn\'t pre\-allocate file space\&.
  548. \fIprealloc\fR
  549. pre\-allocates file space before download begins\&. This may take some time depending on the size of the file\&. Default:
  550. \fIprealloc\fR
  551. .RE
  552. .PP
  553. \fB\-\-log\-level\fR=LEVEL
  554. .RS 4
  555. Set log level to output\&. LEVEL is either
  556. \fIdebug\fR,
  557. \fIinfo\fR,
  558. \fInotice\fR,
  559. \fIwarn\fR
  560. or
  561. \fIerror\fR\&. Default:
  562. \fIdebug\fR
  563. .RE
  564. .PP
  565. \fB\-\-summary\-interval\fR=SEC
  566. .RS 4
  567. Set interval in seconds to output download progress summary\&. Setting
  568. \fI0\fR
  569. suppresses the output\&. Default:
  570. \fI60\fR
  571. .RE
  572. .sp
  573. .it 1 an-trap
  574. .nr an-no-space-flag 1
  575. .nr an-break-flag 1
  576. .br
  577. Note
  578. In multi file torrent, the files adjacent forward to the specified files are also allocated if they share a same piece\&.
  579. .PP
  580. \fB\-Z\fR, \fB\-\-force\-sequential\fR[=\fItrue\fR|\fIfalse\fR]
  581. .RS 4
  582. Fetch URIs in the command\-line sequentially and download each URI in a separate session, like the usual command\-line download utilities\&. Default:
  583. \fIfalse\fR
  584. .RE
  585. .PP
  586. \fB\-\-max\-download\-limit\fR=SPEED
  587. .RS 4
  588. Set max download speed in bytes per sec\&.
  589. \fI0\fR
  590. means unrestricted\&. You can append
  591. \fIK\fR
  592. or
  593. \fIM\fR(1K = 1024, 1M = 1024K)\&. Default:
  594. \fI0\fR
  595. .RE
  596. .PP
  597. \fB\-\-no\-conf\fR
  598. .RS 4
  599. Disable loading aria2\&.conf file\&.
  600. .RE
  601. .PP
  602. \fB\-\-no\-file\-allocation\-limit\fR=SIZE
  603. .RS 4
  604. No file allocation is made for files whose size is smaller than SIZE\&. You can append
  605. \fIK\fR
  606. or
  607. \fIM\fR(1K = 1024, 1M = 1024K)\&. Default:
  608. \fI5M\fR
  609. .RE
  610. .PP
  611. \fB\-P\fR, \fB\-\-parameterized\-uri\fR[=\fItrue\fR|\fIfalse\fR]
  612. .RS 4
  613. Enable parameterized URI support\&. You can specify set of parts:
  614. \fIhttp://{sv1,sv2,sv3}/foo\&.iso\fR\&. Also you can specify numeric sequences with step counter:
  615. \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:
  616. \fIfalse\fR
  617. .RE
  618. .PP
  619. \fB\-q\fR, \fB\-\-quiet\fR[=\fItrue\fR|\fIfalse\fR]
  620. .RS 4
  621. Make aria2 quite (no console output)\&. Default:
  622. \fIfalse\fR
  623. .RE
  624. .PP
  625. \fB\-\-realtime\-chunk\-checksum\fR=\fItrue\fR|\fIfalse\fR
  626. .RS 4
  627. Validate chunk of data by calculating checkusm while download a file if chunk checksums are provided\&. Currently Metalink is the only way to to provide chunk checksums\&. Default:
  628. \fItrue\fR
  629. .RE
  630. .PP
  631. \fB\-\-stop\fR=SEC
  632. .RS 4
  633. Stop application after SEC seconds has passed\&. If
  634. \fI0\fR
  635. is given, this feature is disabled\&. Default:
  636. \fI0\fR
  637. .RE
  638. .PP
  639. \fB\-v\fR, \fB\-\-version\fR
  640. .RS 4
  641. Print the version number, copyright and the configuration information and exit\&.
  642. .RE
  643. .SS "URL, TORRENT_FILE, METALINK_FILE"
  644. You can specify multiple URLs in command\-line\&. Unless you specify \fB\-Z\fR option, all URLs must point to the same file or downloading will fail\&.
  645. .sp
  646. You can also specify arbitrary number of torrent files and metalink files stored in a local drive\&. Please note that they are always treated as a separate download\&.
  647. .sp
  648. You can specify both torrent file with \-T option and URLs\&. By doing this, download a file from both torrent swarm and HTTP(S)/FTP server at the same time, while the data from HTTP(S)/FTP are uploaded to the torrent swarm\&. Note that only single file torrent can be integrated with HTTP(S)/FTP\&.
  649. .sp
  650. .sp
  651. .it 1 an-trap
  652. .nr an-no-space-flag 1
  653. .nr an-break-flag 1
  654. .br
  655. Note
  656. Make sure that URL is quoted with single(\') or double(") quotation if it contains "&" or any characters that have special meaning in shell\&.
  657. .sp
  658. .SH "EXAMPLES"
  659. .SS "HTTP/FTP Segmented Download"
  660. .sp
  661. .it 1 an-trap
  662. .nr an-no-space-flag 1
  663. .nr an-break-flag 1
  664. .br
  665. Download a file
  666. .RS
  667. .sp
  668. .RS 4
  669. .nf
  670. aria2c http://host/file\&.zip
  671. .fi
  672. .RE
  673. .sp
  674. .it 1 an-trap
  675. .nr an-no-space-flag 1
  676. .nr an-break-flag 1
  677. .br
  678. Note
  679. aria2 uses 5 connections to download 1 file by default\&.
  680. .sp
  681. .RE
  682. .sp
  683. .it 1 an-trap
  684. .nr an-no-space-flag 1
  685. .nr an-break-flag 1
  686. .br
  687. Download a file using 1 connection
  688. .RS
  689. .sp
  690. .RS 4
  691. .nf
  692. aria2c \-s1 http://host/file\&.zip
  693. .fi
  694. .RE
  695. .sp
  696. .it 1 an-trap
  697. .nr an-no-space-flag 1
  698. .nr an-break-flag 1
  699. .br
  700. Note
  701. aria2 uses 5 connections to download 1 file by default\&. \-s1 limtis the number of connections to just 1\&.
  702. .sp
  703. .sp
  704. .it 1 an-trap
  705. .nr an-no-space-flag 1
  706. .nr an-break-flag 1
  707. .br
  708. Note
  709. To pause a download, press Ctrl\-C\&. You can resume the transfer by running aria2c with the same argument at the same directory\&. You can change URLs as long as they are pointing to the same file\&.
  710. .sp
  711. .RE
  712. .sp
  713. .it 1 an-trap
  714. .nr an-no-space-flag 1
  715. .nr an-break-flag 1
  716. .br
  717. Download a file from 2 different HTTP servers
  718. .RS
  719. .sp
  720. .RS 4
  721. .nf
  722. aria2c http://host/file\&.zip http://mirror/file\&.zip
  723. .fi
  724. .RE
  725. .RE
  726. .sp
  727. .it 1 an-trap
  728. .nr an-no-space-flag 1
  729. .nr an-break-flag 1
  730. .br
  731. Download a file from HTTP and FTP servers
  732. .RS
  733. .sp
  734. .RS 4
  735. .nf
  736. aria2c http://host1/file\&.zip ftp://host2/file\&.zip
  737. .fi
  738. .RE
  739. .RE
  740. .sp
  741. .it 1 an-trap
  742. .nr an-no-space-flag 1
  743. .nr an-break-flag 1
  744. .br
  745. Download files listed in a file concurrently
  746. .RS
  747. .sp
  748. .RS 4
  749. .nf
  750. aria2c \-ifiles\&.txt \-j2
  751. .fi
  752. .RE
  753. .sp
  754. .it 1 an-trap
  755. .nr an-no-space-flag 1
  756. .nr an-break-flag 1
  757. .br
  758. Note
  759. \-j option specifies the number of parallel downloads\&.
  760. .sp
  761. .RE
  762. .SS "Metalink Download"
  763. .sp
  764. .it 1 an-trap
  765. .nr an-no-space-flag 1
  766. .nr an-break-flag 1
  767. .br
  768. Download files with remote Metalink
  769. .RS
  770. .sp
  771. .RS 4
  772. .nf
  773. aria2c \-\-follow\-metalink=mem http://host/file\&.metalink
  774. .fi
  775. .RE
  776. .RE
  777. .sp
  778. .it 1 an-trap
  779. .nr an-no-space-flag 1
  780. .nr an-break-flag 1
  781. .br
  782. Download using a local metalink file
  783. .RS
  784. .sp
  785. .RS 4
  786. .nf
  787. aria2c \-p \-\-lowest\-speed\-limit=4000 file\&.metalink
  788. .fi
  789. .RE
  790. .sp
  791. .it 1 an-trap
  792. .nr an-no-space-flag 1
  793. .nr an-break-flag 1
  794. .br
  795. Note
  796. To pause a download, press Ctrl\-C\&. You can resume the transfer by running aria2c with the same argument at the same directory\&.
  797. .sp
  798. .RE
  799. .sp
  800. .it 1 an-trap
  801. .nr an-no-space-flag 1
  802. .nr an-break-flag 1
  803. .br
  804. Download several local metalink files
  805. .RS
  806. .sp
  807. .RS 4
  808. .nf
  809. aria2c \-j2 file1\&.metalink file2\&.metalink
  810. .fi
  811. .RE
  812. .RE
  813. .sp
  814. .it 1 an-trap
  815. .nr an-no-space-flag 1
  816. .nr an-break-flag 1
  817. .br
  818. Download only selected files using index
  819. .RS
  820. .sp
  821. .RS 4
  822. .nf
  823. aria2c \-\-select\-file=1\-4,8 file\&.metalink
  824. .fi
  825. .RE
  826. .sp
  827. .it 1 an-trap
  828. .nr an-no-space-flag 1
  829. .nr an-break-flag 1
  830. .br
  831. Note
  832. The index is printed to the console using \-S option\&.
  833. .sp
  834. .RE
  835. .sp
  836. .it 1 an-trap
  837. .nr an-no-space-flag 1
  838. .nr an-break-flag 1
  839. .br
  840. Download a file using a local .metalink file with user preference
  841. .RS
  842. .sp
  843. .RS 4
  844. .nf
  845. aria2c \-\-metalink\-location=JP,US \-\-metalink\-version=1\&.1 \-\-metalink\-language=en\-US file\&.metalink
  846. .fi
  847. .RE
  848. .RE
  849. .SS "BitTorrent Download"
  850. .sp
  851. .it 1 an-trap
  852. .nr an-no-space-flag 1
  853. .nr an-break-flag 1
  854. .br
  855. Download files from remote BitTorrent file
  856. .RS
  857. .sp
  858. .RS 4
  859. .nf
  860. aria2c \-\-follow\-torrent=mem http://host/file\&.torrent
  861. .fi
  862. .RE
  863. .RE
  864. .sp
  865. .it 1 an-trap
  866. .nr an-no-space-flag 1
  867. .nr an-break-flag 1
  868. .br
  869. Download using a local torrent file
  870. .RS
  871. .sp
  872. .RS 4
  873. .nf
  874. aria2c \-\-max\-upload\-limit=40K file\&.torrent
  875. .fi
  876. .RE
  877. .sp
  878. .it 1 an-trap
  879. .nr an-no-space-flag 1
  880. .nr an-break-flag 1
  881. .br
  882. Note
  883. \-\-max\-upload\-limit specifies the max of upload rate\&.
  884. .sp
  885. .sp
  886. .it 1 an-trap
  887. .nr an-no-space-flag 1
  888. .nr an-break-flag 1
  889. .br
  890. Note
  891. To pause a download, press Ctrl\-C\&. You can resume the transfer by run aria2c with the same argument at the same directory\&.
  892. .sp
  893. .RE
  894. .sp
  895. .it 1 an-trap
  896. .nr an-no-space-flag 1
  897. .nr an-break-flag 1
  898. .br
  899. Download 2 torrents
  900. .RS
  901. .sp
  902. .RS 4
  903. .nf
  904. aria2c \-j2 file1\&.torrent file2\&.torrent
  905. .fi
  906. .RE
  907. .RE
  908. .sp
  909. .it 1 an-trap
  910. .nr an-no-space-flag 1
  911. .nr an-break-flag 1
  912. .br
  913. Download a file using torrent and HTTP/FTP server
  914. .RS
  915. .sp
  916. .RS 4
  917. .nf
  918. aria2c \-Ttest\&.torrent http://host1/file ftp://host2/file
  919. .fi
  920. .RE
  921. .sp
  922. .it 1 an-trap
  923. .nr an-no-space-flag 1
  924. .nr an-break-flag 1
  925. .br
  926. Note
  927. Downloading multi file torrent with HTTP/FTP is not supported\&.
  928. .sp
  929. .RE
  930. .sp
  931. .it 1 an-trap
  932. .nr an-no-space-flag 1
  933. .nr an-break-flag 1
  934. .br
  935. Download only selected files using index(usually called "selectable download")
  936. .RS
  937. .sp
  938. .RS 4
  939. .nf
  940. aria2c \-\-select\-file=1\-4,8 file\&.torrent
  941. .fi
  942. .RE
  943. .sp
  944. .it 1 an-trap
  945. .nr an-no-space-flag 1
  946. .nr an-break-flag 1
  947. .br
  948. Note
  949. The index is printed to the console using \-S option\&.
  950. .sp
  951. .RE
  952. .sp
  953. .it 1 an-trap
  954. .nr an-no-space-flag 1
  955. .nr an-break-flag 1
  956. .br
  957. Change the listening port for incoming peer
  958. .RS
  959. .sp
  960. .RS 4
  961. .nf
  962. aria2c \-\-listen\-port=7000\-7001,8000 file\&.torrent
  963. .fi
  964. .RE
  965. .sp
  966. .it 1 an-trap
  967. .nr an-no-space-flag 1
  968. .nr an-break-flag 1
  969. .br
  970. Note
  971. Since aria2 doesn\'t configure firewall or router for port forwarding, it\'s up to you to do it manually\&.
  972. .sp
  973. .RE
  974. .sp
  975. .it 1 an-trap
  976. .nr an-no-space-flag 1
  977. .nr an-break-flag 1
  978. .br
  979. Specify the condition to stop program after torrent download finished
  980. .RS
  981. .sp
  982. .RS 4
  983. .nf
  984. aria2c \-\-seed\-time=120 \-\-seed\-ratio=1\&.0 file\&.torrent
  985. .fi
  986. .RE
  987. .sp
  988. .it 1 an-trap
  989. .nr an-no-space-flag 1
  990. .nr an-break-flag 1
  991. .br
  992. Note
  993. In the above example, the program exists when the 120 minutes has elapsed since download completed or seed ratio reaches 1\&.0\&.
  994. .sp
  995. .RE
  996. .sp
  997. .it 1 an-trap
  998. .nr an-no-space-flag 1
  999. .nr an-break-flag 1
  1000. .br
  1001. Throttle upload speed
  1002. .RS
  1003. .sp
  1004. .RS 4
  1005. .nf
  1006. aria2c \-\-max\-upload\-limit=100K file\&.torrent
  1007. .fi
  1008. .RE
  1009. .RE
  1010. .sp
  1011. .it 1 an-trap
  1012. .nr an-no-space-flag 1
  1013. .nr an-break-flag 1
  1014. .br
  1015. Enable DHT
  1016. .RS
  1017. .sp
  1018. .RS 4
  1019. .nf
  1020. aria2c \-\-enable\-dht \-\-dht\-listen\-port=6881 file\&.torrent
  1021. .fi
  1022. .RE
  1023. .sp
  1024. .it 1 an-trap
  1025. .nr an-no-space-flag 1
  1026. .nr an-break-flag 1
  1027. .br
  1028. Note
  1029. DHT uses udp port\&. Since aria2 doesn\'t configure firewall or router for port forwarding, it\'s up to you to do it manually\&.
  1030. .sp
  1031. .RE
  1032. .SS "More advanced HTTP features"
  1033. .sp
  1034. .it 1 an-trap
  1035. .nr an-no-space-flag 1
  1036. .nr an-break-flag 1
  1037. .br
  1038. Load cookies
  1039. .RS
  1040. .sp
  1041. .RS 4
  1042. .nf
  1043. aria2c \-\-load\-cookies=cookies\&.txt http://host/file\&.zip
  1044. .fi
  1045. .RE
  1046. .sp
  1047. .it 1 an-trap
  1048. .nr an-no-space-flag 1
  1049. .nr an-break-flag 1
  1050. .br
  1051. Note
  1052. You can use Firefox/Mozilla\'s cookie file without modification\&.
  1053. .sp
  1054. .RE
  1055. .sp
  1056. .it 1 an-trap
  1057. .nr an-no-space-flag 1
  1058. .nr an-break-flag 1
  1059. .br
  1060. Resume download started by web browsers or another programs
  1061. .RS
  1062. .sp
  1063. .RS 4
  1064. .nf
  1065. aria2c \-c \-s2 http://host/partiallydownloadedfile\&.zip
  1066. .fi
  1067. .RE
  1068. .RE
  1069. .SS "And more advanced features"
  1070. .sp
  1071. .it 1 an-trap
  1072. .nr an-no-space-flag 1
  1073. .nr an-break-flag 1
  1074. .br
  1075. Throttle download speed
  1076. .RS
  1077. .sp
  1078. .RS 4
  1079. .nf
  1080. aria2c \-\-max\-download\-limit=100K file\&.metalink
  1081. .fi
  1082. .RE
  1083. .RE
  1084. .sp
  1085. .it 1 an-trap
  1086. .nr an-no-space-flag 1
  1087. .nr an-break-flag 1
  1088. .br
  1089. Repair a damaged download using --check-integrity option
  1090. .RS
  1091. .sp
  1092. .RS 4
  1093. .nf
  1094. aria2c \-\-check\-integrity=true file\&.metalink
  1095. .fi
  1096. .RE
  1097. .sp
  1098. .it 1 an-trap
  1099. .nr an-no-space-flag 1
  1100. .nr an-break-flag 1
  1101. .br
  1102. Note
  1103. This option is only available used with BitTorrent or metalink with chunk checksums\&.
  1104. .sp
  1105. .RE
  1106. .sp
  1107. .it 1 an-trap
  1108. .nr an-no-space-flag 1
  1109. .nr an-break-flag 1
  1110. .br
  1111. Drop connection if download speed is lower than specified value
  1112. .RS
  1113. .sp
  1114. .RS 4
  1115. .nf
  1116. aria2c \-\-lowest\-speed\-limit=10K file\&.metalink
  1117. .fi
  1118. .RE
  1119. .RE
  1120. .sp
  1121. .it 1 an-trap
  1122. .nr an-no-space-flag 1
  1123. .nr an-break-flag 1
  1124. .br
  1125. Parameterized URI support
  1126. .RS
  1127. You can specify set of parts:
  1128. .sp
  1129. .sp
  1130. .RS 4
  1131. .nf
  1132. aria2c \-P http://{host1,host2,host3}/file\&.iso
  1133. .fi
  1134. .RE
  1135. You can specify numeric sequence:
  1136. .sp
  1137. .sp
  1138. .RS 4
  1139. .nf
  1140. aria2c \-Z \-P http://host/image[000\-100]\&.png
  1141. .fi
  1142. .RE
  1143. .sp
  1144. .it 1 an-trap
  1145. .nr an-no-space-flag 1
  1146. .nr an-break-flag 1
  1147. .br
  1148. Note
  1149. \-Z option is required if the all URIs don\'t point to the same file, such as the above example\&.
  1150. .sp
  1151. You can specify step counter:
  1152. .sp
  1153. .sp
  1154. .RS 4
  1155. .nf
  1156. aria2c \-Z \-P http://host/image[A\-Z:2]\&.png
  1157. .fi
  1158. .RE
  1159. .RE
  1160. .sp
  1161. .it 1 an-trap
  1162. .nr an-no-space-flag 1
  1163. .nr an-break-flag 1
  1164. .br
  1165. Parallel downloads of arbitrary number of URL,metalink,torrent
  1166. .RS
  1167. .sp
  1168. .RS 4
  1169. .nf
  1170. aria2c \-j3 \-Z http://host/file1 file2\&.torrent file3\&.metalink
  1171. .fi
  1172. .RE
  1173. .RE
  1174. .sp
  1175. .it 1 an-trap
  1176. .nr an-no-space-flag 1
  1177. .nr an-break-flag 1
  1178. .br
  1179. BitTorrent Encryption
  1180. .RS
  1181. Encrypt whole payload using ARC4:
  1182. .sp
  1183. .sp
  1184. .RS 4
  1185. .nf
  1186. aria2c \-\-bt\-min\-crypto\-level=arc4 \-\-bt\-require\-crypto=true file\&.torrent
  1187. .fi
  1188. .RE
  1189. .RE
  1190. .SH "RESUME DOWNLOAD"
  1191. Usually, you can resume transfer by just issuing same command(aria2c URL) if the previous transfer is made by aria2\&.
  1192. .sp
  1193. 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)\&.
  1194. .sp
  1195. .SH "CONTROL FILE"
  1196. 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\&.)
  1197. .sp
  1198. 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\&.
  1199. .sp
  1200. 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\&.
  1201. .sp
  1202. .SH "SEEDING DOWNLOADED FILE IN BITTORRENT"
  1203. You can seed downloaded file using \-\-check\-integrity=true option\&.
  1204. .sp
  1205. .sp
  1206. .RS 4
  1207. .nf
  1208. aria2c \-\-check\-integrity=true file\&.torrent
  1209. .fi
  1210. .RE
  1211. .SH "FILES"
  1212. .SS "aria2\&.conf"
  1213. 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\&.
  1214. .sp
  1215. .sp
  1216. .RS 4
  1217. .nf
  1218. # sample configuration file for aria2c
  1219. listen\-port=60000
  1220. dht\-listen\-port=60000
  1221. seed\-ratio=1\&.0
  1222. max\-upload\-limit=50K
  1223. ftp\-pasv=true
  1224. .fi
  1225. .RE
  1226. .SS "dht\&.dat"
  1227. The routing table of DHT is saved to the path $HOME/\&.aria2/dht\&.dat\&.
  1228. .sp
  1229. .SH "RESOURCES"
  1230. Project web site: http://aria2\&.sourceforge\&.net/
  1231. .sp
  1232. metalink: http://www\&.metalinker\&.org/
  1233. .sp
  1234. .SH "REPORTING BUGS"
  1235. Report bugs to Tatsuhiro Tsujikawa <t\-tujikawa@users\&.sourceforge\&.net>
  1236. .sp
  1237. .SH "AUTHOR"
  1238. Tatsuhiro Tsujikawa <t\-tujikawa@users\&.sourceforge\&.net>
  1239. .sp
  1240. .SH "COPYRIGHT"
  1241. Copyright \(co 2006, 2008 Tatsuhiro Tsujikawa
  1242. .sp
  1243. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&.
  1244. .sp
  1245. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU General Public License for more details\&.
  1246. .sp
  1247. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc\&., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA
  1248. .sp
  1249. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two\&. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL\&. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so\&. If you do not wish to do so, delete this exception statement from your version\&. If you delete this exception statement from all source files in the program, then also delete it here\&.
  1250. .sp