aria2c.1.txt 42 KB

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