aria2c.1.txt 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193
  1. ARIA2C(1)
  2. =========
  3. Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
  4. NAME
  5. ----
  6. aria2c - The ultra fast download utility
  7. SYNOPSIS
  8. --------
  9. aria2c ['OPTIONS'] ['URL' | 'TORRENT_FILE' | 'METALINK_FILE']...
  10. DESCRIPTION
  11. -----------
  12. aria2 is a utility for downloading files. The supported protocols are
  13. HTTP(S), FTP, BitTorrent, and Metalink. aria2 can download a file from
  14. multiple sources/protocols and tries to utilize your maximum download
  15. bandwidth. It supports downloading a file from HTTP(S)/FTP and
  16. BitTorrent at the same time, while the data downloaded from
  17. HTTP(S)/FTP is uploaded to the BitTorrent swarm. Using Metalink's
  18. chunk checksums, aria2 automatically validates chunks of data while
  19. downloading a file like BitTorrent.
  20. OPTIONS
  21. -------
  22. Basic Options
  23. ~~~~~~~~~~~~~
  24. *-d*, *--dir*=DIR::
  25. The directory to store the downloaded file.
  26. *-i*, *--input-file*=FILE::
  27. Downloads URIs found in FILE. You can specify multiple URIs for a single
  28. entity: separate URIs on a single line using the TAB character.
  29. Reads input from stdin when '-' is specified.
  30. The additional *out* and *dir* options can be specified after each line of
  31. URIs. This optional line must start with white space(s).
  32. See *Input File* subsection for details.
  33. *-l*, *--log*=LOG::
  34. The file name of the log file. If '-' is specified, log is written to
  35. stdout.
  36. *-j*, *--max-concurrent-downloads*=N::
  37. Set maximum number of parallel downloads for every static (HTTP/FTP) URL,
  38. torrent and metalink. See also *-s* and *-C* option.
  39. Default: '5'
  40. *-V*, *--check-integrity*[='true'|'false']::
  41. Check file integrity by validating piece hashes.
  42. This option has effect only in BitTorrent and Metalink downloads with
  43. chunk checksums.
  44. Use this option to re-download a damaged portion of a file.
  45. Default: 'false'
  46. *-c*, *--continue*::
  47. Continue downloading a partially downloaded file.
  48. Use this option to resume a download started by a web browser or another
  49. program which downloads files sequentially from the beginning.
  50. Currently this option is only applicable to HTTP(S)/FTP downloads.
  51. *-h*, *--help*[=CATEGORY]::
  52. Print usage and exit.
  53. The help messages are classified in several categories.
  54. For example, type "*--help*=http" for detailed explanation for the options
  55. related to HTTP. If no matching category is found, search option name using
  56. a given word in middle match and print the result.
  57. Available Values: 'basic', 'advanced', 'http', 'https', 'ftp', 'metalink',
  58. 'bittorrent', 'all'
  59. Default: 'basic'
  60. HTTP/FTP Options
  61. ~~~~~~~~~~~~~~~~
  62. *--all-proxy*=PROXY::
  63. Use this proxy server for all protocols.
  64. You can override this setting and specify a proxy server for a particular
  65. protocol using *--http-proxy*, *--https-proxy* and *--ftp-proxy* options.
  66. This affects all URLs.
  67. The format of PROXY is [\\http://][USER:PASSWORD@]HOST[:PORT]
  68. *--connect-timeout*=SEC::
  69. Set the connect timeout in seconds to establish connection to
  70. HTTP/FTP/proxy server. After the connection is established, this
  71. option makes no effect and *--timeout* option is used instead.
  72. Default: '60'
  73. *--lowest-speed-limit*=SPEED::
  74. Close connection if download speed is lower than or equal to this
  75. value(bytes per sec).
  76. '0' means aria2 does not have a lowest speed limit.
  77. You can append 'K' or 'M'(1K = 1024, 1M = 1024K).
  78. This option does not affect BitTorrent downloads.
  79. Default: '0'
  80. *--max-file-not-found*=NUM::
  81. If aria2 receives `file not found' status from the remote HTTP/FTP
  82. servers NUM times without getting a single byte, then force the
  83. download to fail. Specify '0' to disable this option. This options is
  84. effective only when using HTTP/FTP servers.
  85. Default: '0'
  86. *-m*, *--max-tries*=N::
  87. Set number of tries. '0' means unlimited.
  88. Default: '5'
  89. *--no-proxy*=DOMAINS::
  90. Specify comma separated hostnames or domains where proxy should not be
  91. used.
  92. *-o*, *--out*=FILE::
  93. The file name of the downloaded file.
  94. [NOTE]
  95. In Metalink or BitTorrent download you cannot specify file name.
  96. The file name specified here is only used when the URLs fed to aria2
  97. are done by command line without *-i*, *-Z* option. For example:
  98. aria2c -o myfile.zip "http://mirror1/file.zip" "http://mirror2/file.zip"
  99. *--proxy-method*=METHOD::
  100. Set the method to use in proxy request. 'METHOD' is either 'get' or
  101. 'tunnel'. HTTPS downloads always use 'tunnel' regardless of this
  102. option.
  103. Default: 'get'
  104. *-R*, *--remote-time*[='true'|'false']::
  105. Retrieve timestamp of the remote file from the remote HTTP/FTP
  106. server and if it is available, apply it to the local file.
  107. Default: 'false'
  108. *--retry-wait*=SEC::
  109. Set the seconds to wait to retry after an error has occured.
  110. Specify a value between '0' and '60'.
  111. Default: '5'
  112. *--server-stat-of*=FILE::
  113. Specify the filename to which performance profile of the servers is
  114. saved. You can load saved data using *--server-stat-if* option. See
  115. *Server Performance Profile* subsection below for file format.
  116. *--server-stat-if*=FILE::
  117. Specify the filename to load performance profile of the servers. The
  118. loaded data will be used in some URI selector such as 'feedback'.
  119. See also *--uri-selector* option. See *Server Performance Profile*
  120. subsection below for file format.
  121. *--server-stat-timeout*=SEC::
  122. Specifies timeout in seconds to invalidate performance profile of
  123. the servers since the last contact to them.
  124. Default: '86400' (24hours)
  125. *-s*, *--split*=N::
  126. Download a file using N connections.
  127. If more than N URLs are given, first N URLs are used and remaining URLs are
  128. used for backup.
  129. If less than N URLs are given, those URLs are used more than once so that N
  130. connections total are made simultaneously.
  131. Please see *-j* option too.
  132. Please note that in Metalink download, this option has no effect and use
  133. *-C* option instead.
  134. Default: '5'
  135. *-t*, *--timeout*=SEC::
  136. Set timeout in seconds.
  137. Default: '60'
  138. *--uri-selector*=SELECTOR::
  139. Specify URI selection algorithm. The possible values are 'inorder',
  140. 'feedback' and 'adaptive'. If 'inorder' is given, URI is tried in
  141. the order appeared in the URI list. If 'feedback' is given, aria2
  142. uses download speed observed in the previous downloads and choose
  143. fastest server in the URI list. This also effectively skips dead
  144. mirrors. The observed download speed is a part of performance
  145. profile of servers mentioned in *--server-stat-of* and
  146. *--server-stat-if* options. If 'adaptive' is given, selects one of
  147. the best mirrors for the first and reserved connections. For
  148. supplementary ones, it returns mirrors which has not been tested
  149. yet, and if each of them has already been tested, returns mirrors
  150. which has to be tested again. Otherwise, it doesn't select anymore
  151. mirrors. Like 'feedback', it uses a performance profile of servers.
  152. Default: 'inorder'
  153. HTTP Specific Options
  154. ~~~~~~~~~~~~~~~~~~~~~
  155. *--ca-certificate*=FILE::
  156. Use the certificate authorities in FILE to verify the peers.
  157. The certificate file must be in PEM format and can contain multiple CA
  158. certificates.
  159. Use *--check-certificate* option to enable verification.
  160. *--certificate*=FILE::
  161. Use the client certificate in FILE.
  162. The certificate must be in PEM format.
  163. You may use *--private-key* option to specify the private key.
  164. *--check-certificate*[='true'|'false']::
  165. Verify the peer using certificates specified in *--ca-certificate* option.
  166. Default: 'true'
  167. *--http-auth-challenge*[='true'|'false']::
  168. Send HTTP authorization header only when it is requested by the
  169. server. If 'false' is set, then authorization header is always sent
  170. to the server. There is an exception: if username and password are
  171. embedded in URI, authorization header is always sent to the server
  172. regardless of this option. Default: 'true'
  173. *--http-auth-scheme*=SCHEME::
  174. Set HTTP authentication scheme.
  175. Currently, 'basic' is the only supported scheme.
  176. Default: 'basic'
  177. *--http-user*=USER::
  178. Set HTTP user. This affects all URLs.
  179. *--http-passwd*=PASSWD::
  180. Set HTTP password. This affects all URLs.
  181. *--http-proxy*=PROXY::
  182. Use this proxy server for HTTP. See also *--all-proxy* option.
  183. This affects all URLs.
  184. The format of PROXY is [\\http://][USER:PASSWORD@]HOST[:PORT]
  185. *--https-proxy*=PROXY::
  186. Use this proxy server for HTTPS. See also *--all-proxy* option.
  187. This affects all URLs.
  188. The format of PROXY is [\\http://][USER:PASSWORD@]HOST[:PORT]
  189. *--private-key*=FILE::
  190. Use the private key in FILE.
  191. The private key must be decrypted and in PEM format.
  192. The behavior when encrypted one is given is undefined.
  193. See also *--certificate* option.
  194. *--referer*=REFERER::
  195. Set Referer. This affects all URLs.
  196. *--enable-http-keep-alive*[='true'|'false']::
  197. Enable HTTP/1.1 persistent connection.
  198. Default: 'true'
  199. *--enable-http-pipelining*[='true'|'false']::
  200. Enable HTTP/1.1 pipelining.
  201. Default: 'false'
  202. *--header*=HEADER::
  203. Append HEADER to HTTP request header.
  204. You can use this option repeatedly to specify more than one header:
  205. aria2c *--header*="X-A: b78" *--header*="X-B: 9J1" "http://host/file"
  206. *--load-cookies*=FILE::
  207. Load Cookies from FILE using the Firefox3 format (SQLite3) and the
  208. Mozilla/Firefox(1.x/2.x)/Netscape format.
  209. [NOTE]
  210. If aria2 is built without libsqlite3, then it doesn't support Firefox3 cookie format.
  211. *--use-head*[='true'|'false']::
  212. Use HEAD method for the first request to the HTTP server.
  213. Default: 'true'
  214. *-U*, *--user-agent*=USER_AGENT::
  215. Set user agent for HTTP(S) downloads.
  216. FTP Specific Options
  217. ~~~~~~~~~~~~~~~~~~~~
  218. *--ftp-user*=USER::
  219. Set FTP user. This affects all URLs.
  220. Default: 'anonymous'
  221. *--ftp-passwd*=PASSWD::
  222. Set FTP password. This affects all URLs.
  223. Default: 'ARIA2USER@'
  224. *-p*, *--ftp-pasv*[='true'|'false']::
  225. Use the passive mode in FTP.
  226. If 'false' is given, the active mode will be used.
  227. Default: 'true'
  228. *--ftp-proxy*=PROXY::
  229. Use this proxy server for FTP. See also *--all-proxy* option.
  230. This affects all URLs.
  231. The format of PROXY is [\\http://][USER:PASSWORD@]HOST[:PORT]
  232. *--ftp-type*=TYPE::
  233. Set FTP transfer type. TYPE is either 'binary' or 'ascii'.
  234. Default: 'binary'
  235. *--ftp-reuse-connection*[='true'|'false']::
  236. Reuse connection in FTP.
  237. Default: 'true'
  238. *-n*, *--no-netrc*::
  239. Disables netrc support. netrc support is enabled by default.
  240. BitTorrent/Metalink Options
  241. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  242. *--select-file*=INDEX...::
  243. Set file to download by specifying its index.
  244. You can find the file index using the *--show-files* option.
  245. Multiple indexes can be specified by using ",", for example: '3,6'.
  246. You can also use "-" to specify a range: '1-5'.
  247. "," and "-" can be used together: '1-5,8,9'.
  248. When used with the -M option, index may vary depending on the query
  249. (see *--metalink-** options).
  250. [NOTE]
  251. In multi file torrent, the adjacent files specified by this option may
  252. also be downloaded. This is by design, not a bug.
  253. A single piece may include several files or part of files, and aria2
  254. writes the piece to the appropriate files.
  255. *-S*, *--show-files*::
  256. Print file listing of .torrent or .metalink file and exit.
  257. In case of .torrent file, additional information
  258. (infohash, piece length, etc) is also printed.
  259. BitTorrent Specific Options
  260. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  261. *--bt-external-ip*=IPADDRESS::
  262. Specify the external IP address to report to a BitTorrent
  263. tracker. Although this function is named "external", it can accept
  264. any kind of IP addresses. IPADDRESS must be a numeric IP address.
  265. *--bt-hash-check-seed*[='true'|'false']::
  266. If 'true' is given, after hash check using *--check-integrity* option and
  267. file is complete, continue to seed file. If you want to check file
  268. and download it only when it is damaged or incomplete, set this
  269. option to 'false'. This option has effect only on BitTorrent download.
  270. Default: 'true'
  271. *--bt-max-open-files*=NUM::
  272. Specify maximum number of files to open in each BitTorrent download.
  273. Default: '100'
  274. *--bt-max-peers*=NUM::
  275. Specify the maximum number of peers per torrent. '0' means
  276. unlimited. See also *--bt-request-peer-speed-limit* option.
  277. Default: '55'
  278. *--bt-min-crypto-level*='plain'|'arc4'::
  279. Set minimum level of encryption method.
  280. If several encryption methods are provided by a peer, aria2 chooses the lowest
  281. one which satisfies the given level.
  282. Default: 'plain'
  283. *--bt-require-crypto*='true'|'false'::
  284. If true is given, aria2 doesn't accept and establish connection with legacy
  285. BitTorrent handshake(\19BitTorrent protocol).
  286. Thus aria2 always uses Obfuscation handshake.
  287. Default: 'false'
  288. *--bt-request-peer-speed-limit*=SPEED::
  289. If the whole download speed of every torrent is lower than SPEED,
  290. aria2 temporarily increases the number of peers to try for more
  291. download speed. Configuring this option with your preferred download
  292. speed can increase your download speed in some cases.
  293. You can append 'K' or 'M'(1K = 1024, 1M = 1024K).
  294. Default: '50K'
  295. *--bt-seed-unverified*[='true'|'false']::
  296. Seed previously downloaded files without verifying piece hashes.
  297. Default: 'false'
  298. *--dht-entry-point*=HOST:PORT::
  299. Set host and port as an entry point to DHT network.
  300. *--dht-file-path*=PATH::
  301. Change the DHT routing table file to PATH.
  302. Default: '$HOME/.aria2/dht.dat'
  303. *--dht-listen-port*=PORT...::
  304. Set UDP listening port for DHT.
  305. Multiple ports can be specified by using ",", for example: '6881,6885'.
  306. You can also use "-" to specify a range: '6881-6999'. "," and "-" can be used
  307. together.
  308. Default: '6881-6999'
  309. [NOTE]
  310. Make sure that the specified ports are open for incoming UDP traffic.
  311. *--direct-file-mapping*='true'|'false'::
  312. Directly read from and write to each file mentioned in .torrent file.
  313. Use this option if lots of files are listed in .torrent file and aria2
  314. complains it cannot open files anymore.
  315. Default: 'true'
  316. *--enable-dht*[='true'|'false']::
  317. Enable DHT functionality. If a private flag is set in a torrent, aria2
  318. doesn't use DHT for that download even if 'true' is given.
  319. Default: 'false'
  320. *--enable-peer-exchange*[='true'|'false']::
  321. Enable Peer Exchange extension. If a private flag is set in a torrent, this
  322. feature is disabled for that download even if 'true' is given.
  323. Default: 'true'
  324. *--follow-torrent*='true'|'false'|'mem'::
  325. If 'true' or 'mem' is specified, when a file whose suffix is ".torrent" or content
  326. type is "application/x-bittorrent" is downloaded, aria2 parses it as a torrent
  327. file and downloads files mentioned in it.
  328. If 'mem' is specified, a torrent file is not written to the disk, but is just
  329. kept in memory.
  330. If 'false' is specified, the action mentioned above is not taken.
  331. Default: 'true'
  332. *--listen-port*=PORT...::
  333. Set TCP port number for BitTorrent downloads.
  334. Multiple ports can be specified by using ",", for example: '6881,6885'.
  335. You can also use "-" to specify a range: '6881-6999'.
  336. "," and "-" can be used together: '6881-6889,6999'.
  337. Default: '6881-6999'
  338. [NOTE]
  339. Make sure that the specified ports are open for incoming TCP traffic.
  340. *--max-overall-upload-limit*=SPEED::
  341. Set max overall upload speed in bytes/sec.
  342. '0' means unrestricted.
  343. You can append 'K' or 'M'(1K = 1024, 1M = 1024K).
  344. To limit the upload speed per torrent, use *--max-upload-limit* option.
  345. Default: '0'
  346. *-u*, *--max-upload-limit*=SPEED::
  347. Set max upload speed per each torrent in bytes/sec.
  348. '0' means unrestricted.
  349. You can append 'K' or 'M'(1K = 1024, 1M = 1024K).
  350. To limit the overall upload speed, use *--max-overall-upload-limit* option.
  351. Default: '0'
  352. *--peer-id-prefix*=PEERI_ID_PREFIX::
  353. Specify the prefix of peer ID. The peer ID in BitTorrent is 20 byte length.
  354. If more than 20 bytes are specified, only first 20 bytes are used.
  355. If less than 20 bytes are specified, the random alphabet characters are
  356. added to make it's length 20 bytes.
  357. Default: '-aria2-'
  358. *--seed-ratio*=RATIO::
  359. Specify share ratio. Seed completed torrents until share ratio reaches
  360. RATIO.
  361. You are strongly encouraged to specify equals or more than '1.0' here.
  362. Specify '0.0' if you intend to do seeding regardless of share ratio.
  363. If *--seed-time* option is specified along with this option, seeding ends when
  364. at least one of the conditions is satisfied.
  365. Default: '1.0'
  366. *--seed-time*=MINUTES::
  367. Specify seeding time in minutes. Also see the *--seed-ratio* option.
  368. *-T*, *--torrent-file*=TORRENT_FILE::
  369. The path to the .torrent file.
  370. You are not required to use this option because you can specify a torrent file without -T.
  371. Metalink Specific Options
  372. ~~~~~~~~~~~~~~~~~~~~~~~~~
  373. *--follow-metalink*='true'|'false'|'mem'::
  374. If 'true' or 'mem' is specified, when a file whose suffix is ".metaink" or content
  375. type of "application/metalink+xml" is downloaded, aria2 parses it as a metalink
  376. file and downloads files mentioned in it.
  377. If 'mem' is specified, a metalink file is not written to the disk, but is just
  378. kept in memory.
  379. If 'false' is specified, the action mentioned above is not taken.
  380. Default: 'true'
  381. *-M*, *--metalink-file*=METALINK_FILE::
  382. The file path to .metalink file. You are not required to use this option because you can
  383. specify a metalink file without -M.
  384. *-C*, *--metalink-servers*=NUM_SERVERS::
  385. The number of servers to connect to simultaneously.
  386. Some Metalinks regulate the number of servers to connect.
  387. aria2 strictly respects them.
  388. This means that if Metalink defines the maxconnections attribute lower
  389. than NUM_SERVERS, then aria2 uses the value of maxconnections attribute
  390. instead of NUM_SERVERS.
  391. See also *-s* and *-j* options.
  392. Default: '5'
  393. *--metalink-language*=LANGUAGE::
  394. The language of the file to download.
  395. *--metalink-location*=LOCATION[,...]::
  396. The location of the preferred server.
  397. A comma-delimited list of locations is acceptable, for example, 'JP,US'.
  398. *--metalink-os*=OS::
  399. The operating system of the file to download.
  400. *--metalink-version*=VERSION::
  401. The version of the file to download.
  402. *--metalink-preferred-protocol*=PROTO::
  403. Specify preferred protocol.
  404. The possible values are 'http', 'https', 'ftp' and 'none'.
  405. Specify 'none' to disable this feature.
  406. Default: 'none'
  407. *--metalink-enable-unique-protocol*='true'|'false'::
  408. If 'true' is given and several protocols are available for a mirror in a
  409. metalink file, aria2 uses one of them.
  410. Use *--metalink-preferred-protocol* option to specify the preference of
  411. protocol.
  412. Default: 'true'
  413. Advanced Options
  414. ~~~~~~~~~~~~~~~~
  415. *--allow-overwrite*='true'|'false'::
  416. If 'false' is given, aria2 doesn't download a file which already exists but
  417. the corresponding .aria2 file doesn't exist.
  418. In HTTP(S)/FTP download, if *--auto-file-renaming*='true' then,
  419. file name will be renamed. See *--auto-file-renaming* for details.
  420. Default: 'false'
  421. *--allow-piece-length-change*='true'|'false'::
  422. If false is given, aria2 aborts download when a piece length is different
  423. from one in a control file.
  424. If true is given, you can proceed but some download progress will be lost.
  425. Default: 'false'
  426. *--async-dns*[='true'|'false']::
  427. Enable asynchronous DNS.
  428. Default: 'true'
  429. *--auto-file-renaming*[='true'|'false']::
  430. Rename file name if the same file already exists.
  431. This option works only in HTTP(S)/FTP download.
  432. The new file name has a dot and a number(1..9999) appended.
  433. Default: 'true'
  434. *--auto-save-interval*=SEC::
  435. Save a control file(*.aria2) every SEC seconds.
  436. If '0' is given, a control file is not saved during download. aria2 saves a
  437. control file when it stops regardless of the value.
  438. The possible values are between '0' to '600'.
  439. Default: '60'
  440. *--conf-path*=PATH::
  441. Change the configuration file path to PATH.
  442. Default: '$HOME/.aria2/aria2.conf'
  443. *-D*, *--daemon*::
  444. Run as daemon.
  445. *--enable-direct-io*[='true'|'false']::
  446. Enable directI/O, which lowers cpu usage while allocating/checking files.
  447. Turn off if you encounter any error.
  448. Default: 'true'
  449. *--enable-http-server*[='true'|'false']::
  450. Enable the built-in HTTP server. Currently, this is the experimental
  451. feature and it just provides the current download progress. Use your
  452. web browser(console-based ones, such as elinks, w3m, are
  453. recommended) to connect the server and see what's what. See also
  454. *--http-server-listen-port* option. Default: 'false'
  455. *--event-poll*=POLL::
  456. Specify the method for polling events. The possible Values are
  457. 'epoll' and 'select'. If you use recent Linux that has epoll, then
  458. the default value is 'epoll'. Otherwise, the default value is
  459. 'select'.
  460. *--file-allocation*=METHOD::
  461. Specify file allocation method. METHOD is either 'none' or 'prealloc'.
  462. 'none' doesn't pre-allocate file space. 'prealloc' pre-allocates file space
  463. before download begins. This may take some time depending on the size of the
  464. file.
  465. Default: 'prealloc'
  466. *--log-level*=LEVEL::
  467. Set log level to output.
  468. LEVEL is either 'debug', 'info', 'notice', 'warn' or 'error'.
  469. Default: 'debug'
  470. *--summary-interval*=SEC::
  471. Set interval in seconds to output download progress summary.
  472. Setting '0' suppresses the output.
  473. Default: '60'
  474. [NOTE]
  475. In multi file torrent downloads, the files adjacent forward to the specified files
  476. are also allocated if they share the same piece.
  477. *-Z*, *--force-sequential*[='true'|'false']::
  478. Fetch URIs in the command-line sequentially and download each URI in a
  479. separate session, like the usual command-line download utilities.
  480. Default: 'false'
  481. *--http-server-listen-port*=PORT::
  482. Specify a port number for the built-in HTTP Server to listen to.
  483. See also *--enable-http-server* option. The possible Values are
  484. '1024'-'65535'. Default: '6800'
  485. *--max-overall-download-limit*=SPEED::
  486. Set max overall download speed in bytes/sec. '0' means
  487. unrestricted. You can append 'K' or 'M'(1K = 1024, 1M = 1024K). To
  488. limit the download speed per download, use *--max-download-limit*
  489. option. Default: '0'
  490. *--max-download-limit*=SPEED::
  491. Set max download speed per each download in bytes/sec. '0' means
  492. unrestricted. You can append 'K' or 'M'(1K = 1024, 1M = 1024K). To
  493. limit the overall download speed, use *--max-overall-download-limit*
  494. option. Default: '0'
  495. *--no-conf*::
  496. Disable loading aria2.conf file.
  497. *--no-file-allocation-limit*=SIZE::
  498. No file allocation is made for files whose size is smaller than SIZE.
  499. You can append 'K' or 'M'(1K = 1024, 1M = 1024K).
  500. Default: '5M'
  501. *-P*, *--parameterized-uri*[='true'|'false']::
  502. Enable parameterized URI support.
  503. You can specify set of parts: 'http://{sv1,sv2,sv3}/foo.iso'.
  504. Also you can specify numeric sequences with step counter:
  505. '\\http://host/image[000-100:2].img'.
  506. A step counter can be omitted.
  507. If all URIs do not point to the same file, such as the second example above,
  508. -Z option is required.
  509. Default: 'false'
  510. *-q*, *--quiet*[='true'|'false']::
  511. Make aria2 quiet (no console output).
  512. Default: 'false'
  513. *--realtime-chunk-checksum*='true'|'false'::
  514. Validate chunk of data by calculating checksum while downloading a file if
  515. chunk checksums are provided.
  516. Default: 'true'
  517. *--stop*=SEC::
  518. Stop application after SEC seconds has passed.
  519. If '0' is given, this feature is disabled.
  520. Default: '0'
  521. *-v*, *--version*::
  522. Print the version number, copyright and the configuration information and
  523. exit.
  524. Options That Take An Optional Argument
  525. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  526. The options that have its argument surrounded by square brackets([])
  527. take an optional argument. Usually omiting the argument is evaluated to 'true'.
  528. If you use short form of these options(such as '-V') and give
  529. an argument, then the option name and its argument should be concatenated(e.g.
  530. '-Vfalse'). If any spaces are inserted between the option name and the argument,
  531. the argument will be treated as URI and usually this is not what you expect.
  532. URL, TORRENT_FILE, METALINK_FILE
  533. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  534. You can specify multiple URLs in command-line.
  535. Unless you specify *-Z* option, all URLs must point to the same file or downloading will fail.
  536. You can also specify arbitrary number of torrent files and metalink files
  537. stored on a local drive. Please note that they are always treated as a
  538. separate download.
  539. You can specify both torrent file with -T option and URLs. By doing this,
  540. you can download a file from both torrent swarm and HTTP(S)/FTP server at the same time,
  541. while the data from HTTP(S)/FTP are uploaded to the torrent swarm. Note that
  542. only single file torrent can be integrated with HTTP(S)/FTP.
  543. [NOTE]
  544. Make sure that URL is quoted with single(\') or double(") quotation if it
  545. contains "&" or any characters that have special meaning in shell.
  546. Resuming Download
  547. ~~~~~~~~~~~~~~~~~
  548. Usually, you can resume transfer by just issuing same command(aria2c
  549. URL) if the previous transfer is made by aria2.
  550. If the previous transfer is made by a browser or wget like sequential
  551. download manager, then use -c option to continue the transfer(aria2c
  552. *-c* URL).
  553. EXIT STATUS
  554. -----------
  555. Because aria2 can handle multiple downloads at once, it encounters
  556. lots of errors in a session. aria2 returns the following exit status
  557. based on the last error encountered.
  558. *0*::
  559. If all downloads are successful.
  560. *1*::
  561. If an unknown error occurs.
  562. *2*::
  563. If time out occurs.
  564. *3*::
  565. If a resource is not found.
  566. *4*::
  567. If aria2 sees the specfied number of "resource not found" error.
  568. See *--max-file-not-found* option).
  569. *5*::
  570. If a download aborts because download speed is too slow.
  571. See *--lowest-speed-limit* option)
  572. *6*::
  573. If network problem occurs.
  574. *7*::
  575. If there are unfinished downloads. This error is only reported if
  576. all finished downloads are successful and there are unfinished
  577. downloads in a queue when aria2 exits by pressing Ctrl-C by an user
  578. or sending TERM or INT signal.
  579. [NOTE]
  580. An error occurred in a finished download will not be reported
  581. as exit status.
  582. ENVIRONMENT
  583. -----------
  584. aria2 recognizes the following environment variables.
  585. http_proxy [\\http://][USER:PASSWORD@]HOST[:PORT]::
  586. Specify proxy server for use in HTTP.
  587. Overrides http-proxy value in configuration file.
  588. The command-line option *--http-proxy* overrides this value.
  589. https_proxy [\\http://][USER:PASSWORD@]HOST[:PORT]::
  590. Specify proxy server for use in HTTPS.
  591. Overrides https-proxy value in configuration file.
  592. The command-line option *--https-proxy* overrides this value.
  593. ftp_proxy [\\http://][USER:PASSWORD@]HOST[:PORT]::
  594. Specify proxy server for use in FTP.
  595. Overrides ftp-proxy value in configuration file.
  596. The command-line option *--ftp-proxy* overrides this value.
  597. all_proxy [\\http://][USER:PASSWORD@]HOST[:PORT]::
  598. Specify proxy server for use if no protocol-specific proxy is specified.
  599. Overrides all-proxy value in configuration file.
  600. The command-line option *--all-proxy* overrides this value.
  601. no_proxy [DOMAIN,...]::
  602. Specify comma-separated hostname or domains to which proxy should not be used.
  603. Overrides no-proxy value in configuration file.
  604. The command-line option *--no-proxy* overrides this value.
  605. FILES
  606. -----
  607. aria2.conf
  608. ~~~~~~~~~~
  609. By default, aria2 parses '$HOME/.aria2/aria2.conf' as a configuraiton
  610. file. You can specify the path to configuration file using
  611. *--conf-path* option. If you don't want to use the configuraitonf
  612. file, use *--no-conf* option.
  613. The configuration file is a text file and has 1 option per each
  614. line. In each line, you can specify name-value pair in the format:
  615. NAME=VALUE, where name is the long command-line option name without
  616. "--" prefix. You can use same syntax for the command-line option. The
  617. lines beginning "#" are treated as comments.
  618. --------------------------------------
  619. # sample configuration file for aria2c
  620. listen-port=60000
  621. dht-listen-port=60000
  622. seed-ratio=1.0
  623. max-upload-limit=50K
  624. ftp-pasv=true
  625. --------------------------------------
  626. dht.dat
  627. ~~~~~~~~
  628. By default, the routing table of DHT is saved to the path $HOME/.aria2/dht.dat.
  629. Control File
  630. ~~~~~~~~~~~~
  631. aria2 uses a control file to track the progress of a download. A
  632. control file is placed in the same directory as the downloading file
  633. and its filename is the filename of downloading file with ".aria2"
  634. appended. For example, if you are downloading file.zip, then the
  635. control file should be file.zip.aria2. (There is a exception for this
  636. naming convention. If you are downloading a multi torrent, its
  637. control file is the "top directory" name of the torrent with ".aria2"
  638. appended. The "top directory" name is a value of "name" key in "info"
  639. directory in a torrent file.)
  640. Usually a control file is deleted once download completed. If aria2
  641. decides that download cannot be resumed(for example, when downloading
  642. a file from a HTTP server which doesn't support resume), a control
  643. file is not created.
  644. Normally if you lose a control file, you cannot resume download. But
  645. if you have a torrent or metalink with chunk checksums for the file,
  646. you can resume the download without a control file by giving -V option
  647. to aria2c in command-line.
  648. Input File
  649. ~~~~~~~~~~
  650. The input file can contain a list of URIs for aria2 to download. You
  651. can specify multiple URIs for a single entity: separate URIs on a
  652. single line using the TAB character.
  653. Each line is treated as if it is provided in command-line argument.
  654. Therefore they are affected by *-Z* and *-P* options.
  655. Additionally, the following options can be specified after each line
  656. of URIs. These optional lines must start with white space(s).
  657. * out
  658. * dir
  659. * select-file
  660. These options have exactly same meaning of the ones in the
  661. command-line options, but it just applies to the URIs it belongs to.
  662. For example, the content of uri.txt is
  663. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  664. http://server/file.iso http://mirror/file.iso
  665. dir=/iso_images
  666. out=file.img
  667. http://foo/bar
  668. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  669. If aria2 is executed with *-i* uri.txt *-d* /tmp options, then
  670. 'file.iso' is saved as '/iso_images/file.img' and it is downloaded
  671. from \http://server/file.iso and \http://mirror/file.iso. The file
  672. 'bar' is downloaded from \http://foo/bar and saved as '/tmp/bar'.
  673. In some cases, *out* parameter has no effect. See note of *--out*
  674. option for the restrictions.
  675. Server Performance Profile
  676. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  677. This section describes the format of server performance profile. The
  678. file is plain text and each line has several NAME=VALUE pair,
  679. delimited by comma. Currently following NAMEs are recognized:
  680. host::
  681. Hostname of the server. Required.
  682. protocol::
  683. Protocol for this profile, such as ftp, http. Required.
  684. dl_speed::
  685. The average download speed observed in the previous download in
  686. bytes per sec. Required.
  687. sc_avg_speed::
  688. The average download speed observed in the previous download in
  689. bytes per sec. This value is only updated if the download is done in
  690. single connection environment and only used by
  691. AdaptiveURISelector. Optional.
  692. mc_avg_speed::
  693. The average download speed observed in the previous download in
  694. bytes per sec. This value is only updated if the download is done in
  695. multi connection environment and only used by
  696. AdaptiveURISelector. Optional.
  697. counter::
  698. How many times the server is used. Currently this value is only used
  699. by AdaptiveURISelector. Optional.
  700. last_updated::
  701. Last contact time in GMT with this server, specified in the seconds
  702. from the Epoch. Required.
  703. status::
  704. ERROR is set when server cannot be reached or out-of-service or
  705. timeout occurred. Otherwise, OK is set.
  706. Those fields must exist in one line. The order of the fields is not
  707. significant. You can put pairs other than the above; they are simply
  708. ignored.
  709. An example follows:
  710. --------------------------------------------------------------------------------
  711. host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK
  712. host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR
  713. --------------------------------------------------------------------------------
  714. EXAMPLE
  715. -------
  716. HTTP/FTP Segmented Download
  717. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  718. Download a file
  719. ^^^^^^^^^^^^^^^
  720. --------------------------------
  721. aria2c "http://host/file.zip"
  722. --------------------------------
  723. [NOTE]
  724. aria2 uses 5 connections to download 1 file by default.
  725. Download a file using 1 connection
  726. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  727. ----------------------------------
  728. aria2c -s1 "http://host/file.zip"
  729. ----------------------------------
  730. [NOTE]
  731. aria2 uses 5 connections to download 1 file by default.
  732. -s1 limits the number of connections to just 1.
  733. [NOTE]
  734. To pause a download, press Ctrl-C. You can resume the transfer by running aria2c with the same argument in the same directory. You can change URLs as long as they are pointing to the same file.
  735. Download a file from 2 different HTTP servers
  736. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  737. ------------------------------------------------------
  738. aria2c "http://host/file.zip" "http://mirror/file.zip"
  739. ------------------------------------------------------
  740. Download a file from HTTP and FTP servers
  741. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  742. -----------------------------------------------------
  743. aria2c "http://host1/file.zip" "ftp://host2/file.zip"
  744. -----------------------------------------------------
  745. Download files listed in a text file concurrently
  746. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  747. ------------------------
  748. aria2c -ifiles.txt -j2
  749. ------------------------
  750. [NOTE]
  751. -j option specifies the number of parallel downloads.
  752. Using proxy
  753. ^^^^^^^^^^^
  754. For HTTP:
  755. ----------------------------------------------------------
  756. aria2c --http-proxy="http://proxy:8080" "http://host/file"
  757. ----------------------------------------------------------
  758. For FTP:
  759. --------------------------------------------------------
  760. aria2c --ftp-proxy="http://proxy:8080" "ftp://host/file"
  761. --------------------------------------------------------
  762. [NOTE]
  763. See *--http-proxy*, *--https-proxy*, *--ftp-proxy* and *--all-proxy* for
  764. details.
  765. You can specify proxy in the environment variables. See *ENVIRONMENT* section.
  766. Proxy with authorization
  767. ^^^^^^^^^^^^^^^^^^^^^^^^
  768. ----------------------------------------------------------------------------
  769. aria2c --http-proxy="http://username:password@proxy:8080" "http://host/file"
  770. ----------------------------------------------------------------------------
  771. Metalink Download
  772. ~~~~~~~~~~~~~~~~~
  773. Download files with remote Metalink
  774. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  775. --------------------------------------------------------
  776. aria2c --follow-metalink=mem "http://host/file.metalink"
  777. --------------------------------------------------------
  778. Download using a local metalink file
  779. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  780. ----------------------------------------------------------
  781. aria2c -p --lowest-speed-limit=4000 file.metalink
  782. ----------------------------------------------------------
  783. [NOTE]
  784. To pause a download, press Ctrl-C.
  785. You can resume the transfer by running aria2c with the same argument in the same
  786. directory.
  787. Download several local metalink files
  788. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  789. ----------------------------------------
  790. aria2c -j2 file1.metalink file2.metalink
  791. ----------------------------------------
  792. Download only selected files using index
  793. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  794. -------------------------------------------
  795. aria2c --select-file=1-4,8 file.metalink
  796. -------------------------------------------
  797. [NOTE]
  798. The index is printed to the console using -S option.
  799. Download a file using a local .metalink file with user preference
  800. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  801. ------------------------------------------------------------------------------
  802. aria2c --metalink-location=JP,US --metalink-version=1.1 --metalink-language=en-US file.metalink
  803. ------------------------------------------------------------------------------
  804. BitTorrent Download
  805. ~~~~~~~~~~~~~~~~~~~
  806. Download files from remote BitTorrent file
  807. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  808. ------------------------------------------------------
  809. aria2c --follow-torrent=mem "http://host/file.torrent"
  810. ------------------------------------------------------
  811. Download using a local torrent file
  812. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  813. ---------------------------------------------
  814. aria2c --max-upload-limit=40K file.torrent
  815. ---------------------------------------------
  816. [NOTE]
  817. --max-upload-limit specifies the max of upload rate.
  818. [NOTE]
  819. To pause a download, press Ctrl-C. You can resume the transfer by run aria2c with the same argument in the same directory.
  820. Download 2 torrents
  821. ^^^^^^^^^^^^^^^^^^^
  822. --------------------------------------
  823. aria2c -j2 file1.torrent file2.torrent
  824. --------------------------------------
  825. Download a file using torrent and HTTP/FTP server
  826. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  827. ------------------------------------------------------------
  828. aria2c -Ttest.torrent "http://host1/file" "ftp://host2/file"
  829. ------------------------------------------------------------
  830. [NOTE]
  831. Downloading multi file torrent with HTTP/FTP is not supported.
  832. Download only selected files using index(usually called "selectable download")
  833. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  834. ---------------------------------------
  835. aria2c --select-file=1-4,8 file.torrent
  836. ---------------------------------------
  837. [NOTE]
  838. The index is printed to the console using -S option.
  839. Change the listening port for incoming peer
  840. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  841. ---------------------------------------------------
  842. aria2c --listen-port=7000-7001,8000 file.torrent
  843. ---------------------------------------------------
  844. [NOTE]
  845. Since aria2 doesn't configure firewall or router for port forwarding, it's up
  846. to you to do it manually.
  847. Specify the condition to stop program after torrent download finished
  848. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  849. -------------------------------------------------------
  850. aria2c --seed-time=120 --seed-ratio=1.0 file.torrent
  851. -------------------------------------------------------
  852. [NOTE]
  853. In the above example, the program exits when the 120 minutes has elapsed since download completed or seed ratio reaches 1.0.
  854. Throttle upload speed
  855. ^^^^^^^^^^^^^^^^^^^^^
  856. ----------------------------------------------
  857. aria2c --max-upload-limit=100K file.torrent
  858. ----------------------------------------------
  859. Enable DHT
  860. ^^^^^^^^^^
  861. ---------------------------------------------------------
  862. aria2c --enable-dht --dht-listen-port=6881 file.torrent
  863. ---------------------------------------------------------
  864. [NOTE]
  865. DHT uses udp port. Since aria2 doesn't configure firewall or router for port
  866. forwarding, it's up to you to do it manually.
  867. More advanced HTTP features
  868. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  869. Load cookies
  870. ^^^^^^^^^^^^
  871. --------------------------------------------------------
  872. aria2c --load-cookies=cookies.txt "http://host/file.zip"
  873. --------------------------------------------------------
  874. [NOTE]
  875. You can use Firefox/Mozilla's cookie file without modification.
  876. Resume download started by web browsers or another programs
  877. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  878. -------------------------------------------------------
  879. aria2c -c -s2 "http://host/partiallydownloadedfile.zip"
  880. -------------------------------------------------------
  881. Client certificate authorization for SSL/TLS
  882. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  883. ------------------------------------------------------------------------------------------
  884. aria2c --certificate=/path/to/mycert.pem --private-key=/path/to/mykey.pem https://host/file
  885. ------------------------------------------------------------------------------------------
  886. [NOTE]
  887. The file specified in *--private-key* must be decrypted. The behavior when
  888. encrypted one is given is undefined.
  889. Verify peer in SSL/TLS using given CA certificates
  890. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  891. ------------------------------------------------------------------------------------------
  892. aria2c --ca-certificate=/path/to/ca-certificates.crt --check-certificate https://host/file
  893. ------------------------------------------------------------------------------------------
  894. And more advanced features
  895. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  896. Throttle download speed
  897. ^^^^^^^^^^^^^^^^^^^^^^^
  898. -------------------------------------------------
  899. aria2c --max-download-limit=100K file.metalink
  900. -------------------------------------------------
  901. Repair a damaged download using -V option
  902. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  903. -----------------------
  904. aria2c -V file.metalink
  905. -----------------------
  906. [NOTE]
  907. This option is only available used with BitTorrent or metalink with chunk
  908. checksums.
  909. Drop connection if download speed is lower than specified value
  910. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  911. ------------------------------------------------
  912. aria2c --lowest-speed-limit=10K file.metalink
  913. ------------------------------------------------
  914. Parameterized URI support
  915. ^^^^^^^^^^^^^^^^^^^^^^^^^
  916. You can specify set of parts:
  917. -----------------------------------------------
  918. aria2c -P "http://{host1,host2,host3}/file.iso"
  919. -----------------------------------------------
  920. You can specify numeric sequence:
  921. ---------------------------------------------
  922. aria2c -Z -P "http://host/image[000-100].png"
  923. ---------------------------------------------
  924. [NOTE]
  925. -Z option is required if the all URIs don't point to the same file, such as the above example.
  926. You can specify step counter:
  927. -------------------------------------------
  928. aria2c -Z -P "http://host/image[A-Z:2].png"
  929. -------------------------------------------
  930. Parallel downloads of arbitrary number of URL,metalink,torrent
  931. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  932. --------------------------------------------------------------
  933. aria2c -j3 -Z "http://host/file1" file2.torrent file3.metalink
  934. --------------------------------------------------------------
  935. BitTorrent Encryption
  936. ^^^^^^^^^^^^^^^^^^^^^
  937. Encrypt whole payload using ARC4:
  938. -------------------------------------------------------------------------
  939. aria2c --bt-min-crypto-level=arc4 --bt-require-crypto=true file.torrent
  940. -------------------------------------------------------------------------
  941. SEE ALSO
  942. --------
  943. Project Web Site: http://aria2.sourceforge.net/
  944. aria2 Wiki: http://apps.sourceforge.net/trac/aria2/wiki
  945. Metalink Homepage: http://www.metalinker.org/
  946. COPYRIGHT
  947. ---------
  948. Copyright (C) 2006, 2009 Tatsuhiro Tsujikawa
  949. This program is free software; you can redistribute it and/or modify
  950. it under the terms of the GNU General Public License as published by
  951. the Free Software Foundation; either version 2 of the License, or
  952. (at your option) any later version.
  953. This program is distributed in the hope that it will be useful,
  954. but WITHOUT ANY WARRANTY; without even the implied warranty of
  955. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  956. GNU General Public License for more details.
  957. You should have received a copy of the GNU General Public License
  958. along with this program; if not, write to the Free Software
  959. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  960. In addition, as a special exception, the copyright holders give
  961. permission to link the code of portions of this program with the
  962. OpenSSL library under certain conditions as described in each
  963. individual source file, and distribute linked combinations
  964. including the two.
  965. You must obey the GNU General Public License in all respects
  966. for all of the code used other than OpenSSL. If you modify
  967. file(s) with this exception, you may extend this exception to your
  968. version of the file(s), but you are not obligated to do so. If you
  969. do not wish to do so, delete this exception statement from your
  970. version. If you delete this exception statement from all source
  971. files in the program, then also delete it here.