aria2c.1 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715
  1. .\" Title: aria2c
  2. .\" Author:
  3. .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
  4. .\" Date: 02/07/2009
  5. .\" Manual:
  6. .\" Source:
  7. .\"
  8. .TH "ARIA2C" "1" "02/07/2009" "" ""
  9. .\" disable hyphenation
  10. .nh
  11. .\" disable justification (adjust text to left margin only)
  12. .ad l
  13. .SH "NAME"
  14. aria2c \- The ultra fast download utility
  15. .SH "SYNOPSIS"
  16. aria2c [\fIOPTIONS\fR] [\fIURL\fR | \fITORRENT_FILE\fR | \fIMETALINK_FILE\fR]\&...
  17. .sp
  18. .SH "DESCRIPTION"
  19. aria2 is a utility for downloading files\&. The supported protocols are HTTP(S), FTP, BitTorrent, and Metalink\&. 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\&.
  20. .sp
  21. .SH "OPTIONS"
  22. .SS "Basic Options"
  23. .PP
  24. \fB\-d\fR, \fB\-\-dir\fR=DIR
  25. .RS 4
  26. The directory to store the downloaded file\&.
  27. .RE
  28. .PP
  29. \fB\-i\fR, \fB\-\-input\-file\fR=FILE
  30. .RS 4
  31. Downloads URIs found in FILE\&. You can specify multiple URIs for a single entity: separate URIs on a single line using the TAB character\&. Reads input from stdin when
  32. \fI\-\fR
  33. is specified\&. The additional
  34. \fBout\fR
  35. and
  36. \fBdir\fR
  37. options can be specified after each line of URIs\&. This optional line must start with white space(s)\&. See INPUT FILE section for details\&.
  38. .RE
  39. .PP
  40. \fB\-l\fR, \fB\-\-log\fR=LOG
  41. .RS 4
  42. The file name of the log file\&. If
  43. \fI\-\fR
  44. is specified, log is written to stdout\&.
  45. .RE
  46. .PP
  47. \fB\-j\fR, \fB\-\-max\-concurrent\-downloads\fR=N
  48. .RS 4
  49. Set maximum number of parallel downloads for every static (HTTP/FTP) URL, torrent and metalink\&. See also
  50. \fB\-s\fR
  51. and
  52. \fB\-C\fR
  53. option\&. Default:
  54. \fI5\fR
  55. .RE
  56. .PP
  57. \fB\-V\fR, \fB\-\-check\-integrity\fR[=\fItrue\fR|\fIfalse\fR]
  58. .RS 4
  59. Check file integrity by validating piece hashes\&. This option has effect only in BitTorrent and Metalink downloads with chunk checksums\&. Use this option to re\-download a damaged portion of a file\&. Default:
  60. \fIfalse\fR
  61. .RE
  62. .PP
  63. \fB\-c\fR, \fB\-\-continue\fR
  64. .RS 4
  65. Continue downloading a partially downloaded file\&. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning\&. Currently this option is only applicable to HTTP(S)/FTP downloads\&.
  66. .RE
  67. .PP
  68. \fB\-h\fR, \fB\-\-help\fR[=CATEGORY]
  69. .RS 4
  70. Print usage and exit\&. The help messages are classified in several categories\&. For example, type "\fB\-\-help\fR=http" for detailed explanation for the options related to HTTP\&. If no matching category is found, search option name using a given word in middle match and print the result\&. Available Values:
  71. \fIbasic\fR,
  72. \fIadvanced\fR,
  73. \fIhttp\fR,
  74. \fIhttps\fR,
  75. \fIftp\fR,
  76. \fImetalink\fR,
  77. \fIbittorrent\fR,
  78. \fIall\fR
  79. Default:
  80. \fIbasic\fR
  81. .RE
  82. .SS "HTTP/FTP Options"
  83. .PP
  84. \fB\-\-all\-proxy\fR=PROXY
  85. .RS 4
  86. Use this proxy server for all protocols\&. You can override this setting and specify a proxy server for a particular protocol using
  87. \fB\-\-http\-proxy\fR,
  88. \fB\-\-https\-proxy\fR
  89. and
  90. \fB\-\-ftp\-proxy\fR
  91. options\&. This affects all URLs\&. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT]
  92. .RE
  93. .PP
  94. \fB\-\-connect\-timeout\fR=SEC
  95. .RS 4
  96. Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server\&. After the connection is established, this option makes no effect and
  97. \fB\-\-timeout\fR
  98. option is used instead\&. Default:
  99. \fI60\fR
  100. .RE
  101. .PP
  102. \fB\-\-lowest\-speed\-limit\fR=SPEED
  103. .RS 4
  104. Close connection if download speed is lower than or equal to this value(bytes per sec)\&.
  105. \fI0\fR
  106. means aria2 does not have a lowest speed limit\&. You can append
  107. \fIK\fR
  108. or
  109. \fIM\fR(1K = 1024, 1M = 1024K)\&. This option does not affect BitTorrent downloads\&. Default:
  110. \fI0\fR
  111. .RE
  112. .PP
  113. \fB\-\-max\-file\-not\-found\fR=NUM
  114. .RS 4
  115. If aria2 receives `file not found\' status from the remote HTTP/FTP servers NUM times without getting a single byte, then force the download to fail\&. Specify
  116. \fI0\fR
  117. to disable this option\&. This options is effective only when using HTTP/FTP servers\&. Default:
  118. \fI0\fR
  119. .RE
  120. .PP
  121. \fB\-m\fR, \fB\-\-max\-tries\fR=N
  122. .RS 4
  123. Set number of tries\&.
  124. \fI0\fR
  125. means unlimited\&. Default:
  126. \fI5\fR
  127. .RE
  128. .PP
  129. \fB\-\-no\-proxy\fR=DOMAINS
  130. .RS 4
  131. Specify comma separated hostnames or domains where proxy should not be used\&.
  132. .RE
  133. .PP
  134. \fB\-o\fR, \fB\-\-out\fR=FILE
  135. .RS 4
  136. The file name of the downloaded file\&.
  137. .RE
  138. .sp
  139. .it 1 an-trap
  140. .nr an-no-space-flag 1
  141. .nr an-break-flag 1
  142. .br
  143. Note
  144. In Metalink or BitTorrent download you cannot specify file name\&. The file name specified here is only used when the URLs fed to aria2 are done by command line without \fB\-i\fR, \fB\-Z\fR option\&. For example: aria2c \-o myfile\&.zip http://mirror1/file\&.zip http://mirror2/file\&.zip
  145. .PP
  146. \fB\-\-proxy\-method\fR=METHOD
  147. .RS 4
  148. Set the method to use in proxy request\&.
  149. \fIMETHOD\fR
  150. is either
  151. \fIget\fR
  152. or
  153. \fItunnel\fR\&. HTTPS downloads always use
  154. \fItunnel\fR
  155. regardless of this option\&. Default:
  156. \fIget\fR
  157. .RE
  158. .PP
  159. \fB\-R\fR, \fB\-\-remote\-time\fR[=\fItrue\fR|\fIfalse\fR]
  160. .RS 4
  161. Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file\&. Default:
  162. \fIfalse\fR
  163. .RE
  164. .PP
  165. \fB\-\-retry\-wait\fR=SEC
  166. .RS 4
  167. Set the seconds to wait to retry after an error has occured\&. Specify a value between
  168. \fI0\fR
  169. and
  170. \fI60\fR\&. Default:
  171. \fI5\fR
  172. .RE
  173. .PP
  174. \fB\-\-server\-stat\-of\fR=FILE
  175. .RS 4
  176. Specify the filename to which performance profile of the servers is saved\&. You can load saved data using
  177. \fB\-\-server\-stat\-if\fR
  178. option\&. See SERVER PERFORMANCE PROFILE section below for file format\&.
  179. .RE
  180. .PP
  181. \fB\-\-server\-stat\-if\fR=FILE
  182. .RS 4
  183. Specify the filename to load performance profile of the servers\&. The loaded data will be used in some URI selector such as
  184. \fIfeedback\fR\&. See also
  185. \fB\-\-uri\-selector\fR
  186. option\&. See SERVER PERFORMANCE PROFILE section below for file format\&.
  187. .RE
  188. .PP
  189. \fB\-\-server\-stat\-timeout\fR=SEC
  190. .RS 4
  191. Specifies timeout in seconds to invalidate performance profile of the servers since the last contact to them\&. Default:
  192. \fI86400\fR
  193. (24hours)
  194. .RE
  195. .PP
  196. \fB\-s\fR, \fB\-\-split\fR=N
  197. .RS 4
  198. Download a file using N connections\&. If more than N URLs are given, first N URLs are used and remaining URLs are used for backup\&. If less than N URLs are given, those URLs are used more than once so that N connections total are made simultaneously\&. Please see
  199. \fB\-j\fR
  200. option too\&. Please note that in Metalink download, this option has no effect and use
  201. \fB\-C\fR
  202. option instead\&. Default:
  203. \fI5\fR
  204. .RE
  205. .PP
  206. \fB\-t\fR, \fB\-\-timeout\fR=SEC
  207. .RS 4
  208. Set timeout in seconds\&. Default:
  209. \fI60\fR
  210. .RE
  211. .PP
  212. \fB\-\-uri\-selector\fR=SELECTOR
  213. .RS 4
  214. Specify URI selection algorithm\&. The possible values are
  215. \fIinorder\fR,
  216. \fIfeedback\fR
  217. and
  218. \fIadaptive\fR\&. If
  219. \fIinorder\fR
  220. is given, URI is tried in the order appeared in the URI list\&. If
  221. \fIfeedback\fR
  222. is given, aria2 uses download speed observed in the previous downloads and choose fastest server in the URI list\&. This also effectively skips dead mirrors\&. The observed download speed is a part of performance profile of servers mentioned in
  223. \fB\-\-server\-stat\-of\fR
  224. and
  225. \fB\-\-server\-stat\-if\fR
  226. options\&. If
  227. \fIadaptive\fR
  228. is given, selects one of the best mirrors for the first and reserved connections\&. For supplementary ones, it returns mirrors which has not been tested yet, and if each of them has already been tested, returns mirrors which has to be tested again\&. Otherwise, it doesn\'t select anymore mirrors\&. Like
  229. \fIfeedback\fR, it uses a performance profile of servers\&. Default:
  230. \fIinorder\fR
  231. .RE
  232. .SS "HTTP Specific Options"
  233. .PP
  234. \fB\-\-ca\-certificate\fR=FILE
  235. .RS 4
  236. Use the certificate authorities in FILE to verify the peers\&. The certificate file must be in PEM format and can contain multiple CA certificates\&. Use
  237. \fB\-\-check\-certificate\fR
  238. option to enable verification\&.
  239. .RE
  240. .PP
  241. \fB\-\-certificate\fR=FILE
  242. .RS 4
  243. Use the client certificate in FILE\&. The certificate must be in PEM format\&. You may use
  244. \fB\-\-private\-key\fR
  245. option to specify the private key\&.
  246. .RE
  247. .PP
  248. \fB\-\-check\-certificate\fR[=\fItrue\fR|\fIfalse\fR]
  249. .RS 4
  250. Verify the peer using certificates specified in
  251. \fB\-\-ca\-certificate\fR
  252. option\&. Default:
  253. \fItrue\fR
  254. .RE
  255. .PP
  256. \fB\-\-http\-auth\-scheme\fR=SCHEME
  257. .RS 4
  258. Set HTTP authentication scheme\&. Currently,
  259. \fIbasic\fR
  260. is the only supported scheme\&. Default:
  261. \fIbasic\fR
  262. .RE
  263. .PP
  264. \fB\-\-http\-user\fR=USER
  265. .RS 4
  266. Set HTTP user\&. This affects all URLs\&.
  267. .RE
  268. .PP
  269. \fB\-\-http\-passwd\fR=PASSWD
  270. .RS 4
  271. Set HTTP password\&. This affects all URLs\&.
  272. .RE
  273. .PP
  274. \fB\-\-http\-proxy\fR=PROXY
  275. .RS 4
  276. Use this proxy server for HTTP\&. See also
  277. \fB\-\-all\-proxy\fR
  278. option\&. This affects all URLs\&. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT]
  279. .RE
  280. .PP
  281. \fB\-\-https\-proxy\fR=PROXY
  282. .RS 4
  283. Use this proxy server for HTTPS\&. See also
  284. \fB\-\-all\-proxy\fR
  285. option\&. This affects all URLs\&. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT]
  286. .RE
  287. .PP
  288. \fB\-\-private\-key\fR=FILE
  289. .RS 4
  290. Use the private key in FILE\&. The private key must be decrypted and in PEM format\&. The behavior when encrypted one is given is undefined\&. See also
  291. \fB\-\-certificate\fR
  292. option\&.
  293. .RE
  294. .PP
  295. \fB\-\-referer\fR=REFERER
  296. .RS 4
  297. Set Referer\&. This affects all URLs\&.
  298. .RE
  299. .PP
  300. \fB\-\-enable\-http\-keep\-alive\fR[=\fItrue\fR|\fIfalse\fR]
  301. .RS 4
  302. Enable HTTP/1\&.1 persistent connection\&. Default:
  303. \fItrue\fR
  304. .RE
  305. .PP
  306. \fB\-\-enable\-http\-pipelining\fR[=\fItrue\fR|\fIfalse\fR]
  307. .RS 4
  308. Enable HTTP/1\&.1 pipelining\&. Default:
  309. \fIfalse\fR
  310. .RE
  311. .PP
  312. \fB\-\-header\fR=HEADER
  313. .RS 4
  314. Append HEADER to HTTP request header\&. You can use this option repeatedly to specify more than one header: aria2c
  315. \fB\-\-header\fR="X\-A: b78"
  316. \fB\-\-header\fR="X\-B: 9J1" http://host/file
  317. .RE
  318. .PP
  319. \fB\-\-load\-cookies\fR=FILE
  320. .RS 4
  321. Load Cookies from FILE using the Firefox3 format (SQLite3) and the Mozilla/Firefox(1\&.x/2\&.x)/Netscape format\&.
  322. .RE
  323. .sp
  324. .it 1 an-trap
  325. .nr an-no-space-flag 1
  326. .nr an-break-flag 1
  327. .br
  328. Note
  329. If aria2 is built without libsqlite3, then it doesn\'t support Firefox3 cookie format\&.
  330. .PP
  331. \fB\-\-use\-head\fR[=\fItrue\fR|\fIfalse\fR]
  332. .RS 4
  333. Use HEAD method for the first request to the HTTP server\&. Default:
  334. \fItrue\fR
  335. .RE
  336. .PP
  337. \fB\-U\fR, \fB\-\-user\-agent\fR=USER_AGENT
  338. .RS 4
  339. Set user agent for HTTP(S) downloads\&.
  340. .RE
  341. .SS "FTP Specific Options"
  342. .PP
  343. \fB\-\-ftp\-user\fR=USER
  344. .RS 4
  345. Set FTP user\&. This affects all URLs\&. Default:
  346. \fIanonymous\fR
  347. .RE
  348. .PP
  349. \fB\-\-ftp\-passwd\fR=PASSWD
  350. .RS 4
  351. Set FTP password\&. This affects all URLs\&. Default:
  352. \fIARIA2USER@\fR
  353. .RE
  354. .PP
  355. \fB\-p\fR, \fB\-\-ftp\-pasv\fR[=\fItrue\fR|\fIfalse\fR]
  356. .RS 4
  357. Use the passive mode in FTP\&. If
  358. \fIfalse\fR
  359. is given, the active mode will be used\&. Default:
  360. \fItrue\fR
  361. .RE
  362. .PP
  363. \fB\-\-ftp\-proxy\fR=PROXY
  364. .RS 4
  365. Use this proxy server for FTP\&. See also
  366. \fB\-\-all\-proxy\fR
  367. option\&. This affects all URLs\&. The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT]
  368. .RE
  369. .PP
  370. \fB\-\-ftp\-type\fR=TYPE
  371. .RS 4
  372. Set FTP transfer type\&. TYPE is either
  373. \fIbinary\fR
  374. or
  375. \fIascii\fR\&. Default:
  376. \fIbinary\fR
  377. .RE
  378. .PP
  379. \fB\-\-ftp\-reuse\-connection\fR[=\fItrue\fR|\fIfalse\fR]
  380. .RS 4
  381. Reuse connection in FTP\&. Default:
  382. \fItrue\fR
  383. .RE
  384. .PP
  385. \fB\-n\fR, \fB\-\-no\-netrc\fR
  386. .RS 4
  387. Disables netrc support\&. netrc support is enabled by default\&.
  388. .RE
  389. .SS "BitTorrent/Metalink Options"
  390. .PP
  391. \fB\-\-select\-file\fR=INDEX\&...
  392. .RS 4
  393. Set file to download by specifying its index\&. You can find the file index using the
  394. \fB\-\-show\-files\fR
  395. option\&. Multiple indexes can be specified by using ",", for example:
  396. \fI3,6\fR\&. You can also use "\-" to specify a range:
  397. \fI1\-5\fR\&. "," and "\-" can be used together:
  398. \fI1\-5,8,9\fR\&. When used with the \-M option, index may vary depending on the query (see
  399. \fB\-\-metalink\-\fR* options)\&.
  400. .RE
  401. .sp
  402. .it 1 an-trap
  403. .nr an-no-space-flag 1
  404. .nr an-break-flag 1
  405. .br
  406. Note
  407. In multi file torrent, the adjacent files specified by this option may also be downloaded\&. This is by design, not a bug\&. A single piece may include several files or part of files, and aria2 writes the piece to the appropriate files\&.
  408. .PP
  409. \fB\-S\fR, \fB\-\-show\-files\fR
  410. .RS 4
  411. Print file listing of \&.torrent or \&.metalink file and exit\&. In case of \&.torrent file, additional information (infohash, piece length, etc) is also printed\&.
  412. .RE
  413. .SS "BitTorrent Specific Options"
  414. .PP
  415. \fB\-\-bt\-external\-ip\fR=IPADDRESS
  416. .RS 4
  417. Specify the external IP address to report to a BitTorrent tracker\&. Although this function is named "external", it can accept any kind of IP addresses\&. IPADDRESS must be a numeric IP address\&.
  418. .RE
  419. .PP
  420. \fB\-\-bt\-hash\-check\-seed\fR[=\fItrue\fR|\fIfalse\fR]
  421. .RS 4
  422. If
  423. \fItrue\fR
  424. is given, after hash check using
  425. \fB\-\-check\-integrity\fR
  426. option and file is complete, continue to seed file\&. If you want to check file and download it only when it is damaged or incomplete, set this option to
  427. \fIfalse\fR\&. This option has effect only on BitTorrent download\&. Default:
  428. \fItrue\fR
  429. .RE
  430. .PP
  431. \fB\-\-bt\-max\-open\-files\fR=NUM
  432. .RS 4
  433. Specify maximum number of files to open in each BitTorrent download\&. Default:
  434. \fI100\fR
  435. .RE
  436. .PP
  437. \fB\-\-bt\-max\-peers\fR=NUM
  438. .RS 4
  439. Specify the maximum number of peers per torrent\&.
  440. \fI0\fR
  441. means unlimited\&. See also
  442. \fB\-\-bt\-request\-peer\-speed\-limit\fR
  443. option\&. Default:
  444. \fI55\fR
  445. .RE
  446. .PP
  447. \fB\-\-bt\-min\-crypto\-level\fR=\fIplain\fR|\fIarc4\fR
  448. .RS 4
  449. Set minimum level of encryption method\&. If several encryption methods are provided by a peer, aria2 chooses the lowest one which satisfies the given level\&. Default:
  450. \fIplain\fR
  451. .RE
  452. .PP
  453. \fB\-\-bt\-require\-crypto\fR=\fItrue\fR|\fIfalse\fR
  454. .RS 4
  455. If true is given, aria2 doesn\'t accept and establish connection with legacy BitTorrent handshake(\e19BitTorrent protocol)\&. Thus aria2 always uses Obfuscation handshake\&. Default:
  456. \fIfalse\fR
  457. .RE
  458. .PP
  459. \fB\-\-bt\-request\-peer\-speed\-limit\fR=SPEED
  460. .RS 4
  461. If the whole download speed of every torrent is lower than SPEED, aria2 temporarily increases the number of peers to try for more download speed\&. Configuring this option with your preferred download speed can increase your download speed in some cases\&. You can append
  462. \fIK\fR
  463. or
  464. \fIM\fR(1K = 1024, 1M = 1024K)\&. Default:
  465. \fI50K\fR
  466. .RE
  467. .PP
  468. \fB\-\-bt\-seed\-unverified\fR[=\fItrue\fR|\fIfalse\fR]
  469. .RS 4
  470. Seed previously downloaded files without verifying piece hashes\&. Default:
  471. \fIfalse\fR
  472. .RE
  473. .PP
  474. \fB\-\-dht\-entry\-point\fR=HOST:PORT
  475. .RS 4
  476. Set host and port as an entry point to DHT network\&.
  477. .RE
  478. .PP
  479. \fB\-\-dht\-file\-path\fR=PATH
  480. .RS 4
  481. Change the DHT routing table file to PATH\&. Default:
  482. \fI$HOME/\&.aria2/dht\&.dat\fR
  483. .RE
  484. .PP
  485. \fB\-\-dht\-listen\-port\fR=PORT\&...
  486. .RS 4
  487. Set UDP listening port for DHT\&. Multiple ports can be specified by using ",", for example:
  488. \fI6881,6885\fR\&. You can also use "\-" to specify a range:
  489. \fI6881\-6999\fR\&. "," and "\-" can be used together\&. Default:
  490. \fI6881\-6999\fR
  491. .RE
  492. .sp
  493. .it 1 an-trap
  494. .nr an-no-space-flag 1
  495. .nr an-break-flag 1
  496. .br
  497. Note
  498. Make sure that the specified ports are open for incoming UDP traffic\&.
  499. .PP
  500. \fB\-\-direct\-file\-mapping\fR=\fItrue\fR|\fIfalse\fR
  501. .RS 4
  502. Directly read from and write to each file mentioned in \&.torrent file\&. Use this option if lots of files are listed in \&.torrent file and aria2 complains it cannot open files anymore\&. Default:
  503. \fItrue\fR
  504. .RE
  505. .PP
  506. \fB\-\-enable\-dht\fR[=\fItrue\fR|\fIfalse\fR]
  507. .RS 4
  508. Enable DHT functionality\&. If a private flag is set in a torrent, aria2 doesn\'t use DHT for that download even if
  509. \fItrue\fR
  510. is given\&. Default:
  511. \fIfalse\fR
  512. .RE
  513. .PP
  514. \fB\-\-enable\-peer\-exchange\fR[=\fItrue\fR|\fIfalse\fR]
  515. .RS 4
  516. Enable Peer Exchange extension\&. If a private flag is set in a torrent, this feature is disabled for that download even if
  517. \fItrue\fR
  518. is given\&. Default:
  519. \fItrue\fR
  520. .RE
  521. .PP
  522. \fB\-\-follow\-torrent\fR=\fItrue\fR|\fIfalse\fR|\fImem\fR
  523. .RS 4
  524. If
  525. \fItrue\fR
  526. or
  527. \fImem\fR
  528. is specified, when a file whose suffix is "\&.torrent" or content type is "application/x\-bittorrent" is downloaded, aria2 parses it as a torrent file and downloads files mentioned in it\&. If
  529. \fImem\fR
  530. is specified, a torrent file is not written to the disk, but is just kept in memory\&. If
  531. \fIfalse\fR
  532. is specified, the action mentioned above is not taken\&. Default:
  533. \fItrue\fR
  534. .RE
  535. .PP
  536. \fB\-\-listen\-port\fR=PORT\&...
  537. .RS 4
  538. Set TCP port number for BitTorrent downloads\&. Multiple ports can be specified by using ",", for example:
  539. \fI6881,6885\fR\&. You can also use "\-" to specify a range:
  540. \fI6881\-6999\fR\&. "," and "\-" can be used together:
  541. \fI6881\-6889,6999\fR\&. Default:
  542. \fI6881\-6999\fR
  543. .RE
  544. .sp
  545. .it 1 an-trap
  546. .nr an-no-space-flag 1
  547. .nr an-break-flag 1
  548. .br
  549. Note
  550. Make sure that the specified ports are open for incoming TCP traffic\&.
  551. .PP
  552. \fB\-\-max\-overall\-upload\-limit\fR=SPEED
  553. .RS 4
  554. Set max overall upload speed in bytes/sec\&.
  555. \fI0\fR
  556. means unrestricted\&. You can append
  557. \fIK\fR
  558. or
  559. \fIM\fR(1K = 1024, 1M = 1024K)\&. To limit the upload speed per torrent, use
  560. \fB\-\-max\-upload\-limit\fR
  561. option\&. If non\-zero value is specified,
  562. \fB\-\-max\-upload\-limit\fR
  563. option is ignored\&. Default:
  564. \fI0\fR
  565. .RE
  566. .PP
  567. \fB\-u\fR, \fB\-\-max\-upload\-limit\fR=SPEED
  568. .RS 4
  569. Set max upload speed per each torrent in bytes/sec\&.
  570. \fI0\fR
  571. means unrestricted\&. You can append
  572. \fIK\fR
  573. or
  574. \fIM\fR(1K = 1024, 1M = 1024K)\&. To limit the overall upload speed, use
  575. \fB\-\-max\-overall\-upload\-limit\fR
  576. option\&. Default:
  577. \fI0\fR
  578. .RE
  579. .PP
  580. \fB\-\-peer\-id\-prefix\fR=PEERI_ID_PREFIX
  581. .RS 4
  582. Specify the prefix of peer ID\&. The peer ID in BitTorrent is 20 byte length\&. If more than 20 bytes are specified, only first 20 bytes are used\&. If less than 20 bytes are specified, the random alphabet characters are added to make it\'s length 20 bytes\&. Default:
  583. \fI\-aria2\-\fR
  584. .RE
  585. .PP
  586. \fB\-\-seed\-ratio\fR=RATIO
  587. .RS 4
  588. Specify share ratio\&. Seed completed torrents until share ratio reaches RATIO\&. You are strongly encouraged to specify equals or more than
  589. \fI1\&.0\fR
  590. here\&. Specify
  591. \fI0\&.0\fR
  592. if you intend to do seeding regardless of share ratio\&. If
  593. \fB\-\-seed\-time\fR
  594. option is specified along with this option, seeding ends when at least one of the conditions is satisfied\&. Default:
  595. \fI1\&.0\fR
  596. .RE
  597. .PP
  598. \fB\-\-seed\-time\fR=MINUTES
  599. .RS 4
  600. Specify seeding time in minutes\&. Also see the
  601. \fB\-\-seed\-ratio\fR
  602. option\&.
  603. .RE
  604. .PP
  605. \fB\-T\fR, \fB\-\-torrent\-file\fR=TORRENT_FILE
  606. .RS 4
  607. The path to the \&.torrent file\&. You are not required to use this option because you can specify a torrent file without \-T\&.
  608. .RE
  609. .SS "Metalink Specific Options"
  610. .PP
  611. \fB\-\-follow\-metalink\fR=\fItrue\fR|\fIfalse\fR|\fImem\fR
  612. .RS 4
  613. If
  614. \fItrue\fR
  615. or
  616. \fImem\fR
  617. is specified, when a file whose suffix is "\&.metaink" or content type of "application/metalink+xml" is downloaded, aria2 parses it as a metalink file and downloads files mentioned in it\&. If
  618. \fImem\fR
  619. is specified, a metalink file is not written to the disk, but is just kept in memory\&. If
  620. \fIfalse\fR
  621. is specified, the action mentioned above is not taken\&. Default:
  622. \fItrue\fR
  623. .RE
  624. .PP
  625. \fB\-M\fR, \fB\-\-metalink\-file\fR=METALINK_FILE
  626. .RS 4
  627. The file path to \&.metalink file\&. You are not required to use this option because you can specify a metalink file without \-M\&.
  628. .RE
  629. .PP
  630. \fB\-C\fR, \fB\-\-metalink\-servers\fR=NUM_SERVERS
  631. .RS 4
  632. The number of servers to connect to simultaneously\&. Some Metalinks regulate the number of servers to connect\&. aria2 strictly respects them\&. This means that if Metalink defines the maxconnections attribute lower than NUM_SERVERS, then aria2 uses the value of maxconnections attribute instead of NUM_SERVERS\&. See also
  633. \fB\-s\fR
  634. and
  635. \fB\-j\fR
  636. options\&. Default:
  637. \fI5\fR
  638. .RE
  639. .PP
  640. \fB\-\-metalink\-language\fR=LANGUAGE
  641. .RS 4
  642. The language of the file to download\&.
  643. .RE
  644. .PP
  645. \fB\-\-metalink\-location\fR=LOCATION[,\&...]
  646. .RS 4
  647. The location of the preferred server\&. A comma\-delimited list of locations is acceptable, for example,
  648. \fIJP,US\fR\&.
  649. .RE
  650. .PP
  651. \fB\-\-metalink\-os\fR=OS
  652. .RS 4
  653. The operating system of the file to download\&.
  654. .RE
  655. .PP
  656. \fB\-\-metalink\-version\fR=VERSION
  657. .RS 4
  658. The version of the file to download\&.
  659. .RE
  660. .PP
  661. \fB\-\-metalink\-preferred\-protocol\fR=PROTO
  662. .RS 4
  663. Specify preferred protocol\&. The possible values are
  664. \fIhttp\fR,
  665. \fIhttps\fR,
  666. \fIftp\fR
  667. and
  668. \fInone\fR\&. Specify
  669. \fInone\fR
  670. to disable this feature\&. Default:
  671. \fInone\fR
  672. .RE
  673. .PP
  674. \fB\-\-metalink\-enable\-unique\-protocol\fR=\fItrue\fR|\fIfalse\fR
  675. .RS 4
  676. If
  677. \fItrue\fR
  678. is given and several protocols are available for a mirror in a metalink file, aria2 uses one of them\&. Use
  679. \fB\-\-metalink\-preferred\-protocol\fR
  680. option to specify the preference of protocol\&. Default:
  681. \fItrue\fR
  682. .RE
  683. .SS "Advanced Options"
  684. .PP
  685. \fB\-\-allow\-overwrite\fR=\fItrue\fR|\fIfalse\fR
  686. .RS 4
  687. If
  688. \fIfalse\fR
  689. is given, aria2 doesn\'t download a file which already exists but the corresponding \&.aria2 file doesn\'t exist\&. In HTTP(S)/FTP download, if
  690. \fB\-\-auto\-file\-renaming\fR=\fItrue\fR
  691. then, file name will be renamed\&. See
  692. \fB\-\-auto\-file\-renaming\fR
  693. for details\&. Default:
  694. \fIfalse\fR
  695. .RE
  696. .PP
  697. \fB\-\-allow\-piece\-length\-change\fR=\fItrue\fR|\fIfalse\fR
  698. .RS 4
  699. If false is given, aria2 aborts download when a piece length is different from one in a control file\&. If true is given, you can proceed but some download progress will be lost\&. Default:
  700. \fIfalse\fR
  701. .RE
  702. .PP
  703. \fB\-\-async\-dns\fR[=\fItrue\fR|\fIfalse\fR]
  704. .RS 4
  705. Enable asynchronous DNS\&. Default:
  706. \fItrue\fR
  707. .RE
  708. .PP
  709. \fB\-\-auto\-file\-renaming\fR[=\fItrue\fR|\fIfalse\fR]
  710. .RS 4
  711. Rename file name if the same file already exists\&. This option works only in HTTP(S)/FTP download\&. The new file name has a dot and a number(1\&.\&.9999) appended\&. Default:
  712. \fItrue\fR
  713. .RE
  714. .PP
  715. \fB\-\-auto\-save\-interval\fR=SEC
  716. .RS 4
  717. Save a control file(*\&.aria2) every SEC seconds\&. If
  718. \fI0\fR
  719. is given, a control file is not saved during download\&. aria2 saves a control file when it stops regardless of the value\&. The possible values are between
  720. \fI0\fR
  721. to
  722. \fI600\fR\&. Default:
  723. \fI60\fR
  724. .RE
  725. .PP
  726. \fB\-\-conf\-path\fR=PATH
  727. .RS 4
  728. Change the configuration file path to PATH\&. Default:
  729. \fI$HOME/\&.aria2/aria2\&.conf\fR
  730. .RE
  731. .PP
  732. \fB\-D\fR, \fB\-\-daemon\fR
  733. .RS 4
  734. Run as daemon\&.
  735. .RE
  736. .PP
  737. \fB\-\-enable\-direct\-io\fR[=\fItrue\fR|\fIfalse\fR]
  738. .RS 4
  739. Enable directI/O, which lowers cpu usage while allocating/checking files\&. Turn off if you encounter any error\&. Default:
  740. \fItrue\fR
  741. .RE
  742. .PP
  743. \fB\-\-enable\-http\-server\fR[=\fItrue\fR|\fIfalse\fR]
  744. .RS 4
  745. Enable the built\-in HTTP server\&. Currently, this is the experimental feature and it just provides the current download progress\&. Use your web browser(console\-based ones, such as elinks, w3m, are recommended) to connect the server and see what\'s what\&. See also
  746. \fB\-\-http\-server\-listen\-port\fR
  747. option\&. Default:
  748. \fIfalse\fR
  749. .RE
  750. .PP
  751. \fB\-\-event\-poll\fR=POLL
  752. .RS 4
  753. Specify the method for polling events\&. The possible Values are
  754. \fIepoll\fR
  755. and
  756. \fIselect\fR\&. If you use recent Linux that has epoll, then the default value is
  757. \fIepoll\fR\&. Otherwise, the default value is
  758. \fIselect\fR\&.
  759. .RE
  760. .PP
  761. \fB\-\-file\-allocation\fR=METHOD
  762. .RS 4
  763. Specify file allocation method\&. METHOD is either
  764. \fInone\fR
  765. or
  766. \fIprealloc\fR\&.
  767. \fInone\fR
  768. doesn\'t pre\-allocate file space\&.
  769. \fIprealloc\fR
  770. pre\-allocates file space before download begins\&. This may take some time depending on the size of the file\&. Default:
  771. \fIprealloc\fR
  772. .RE
  773. .PP
  774. \fB\-\-log\-level\fR=LEVEL
  775. .RS 4
  776. Set log level to output\&. LEVEL is either
  777. \fIdebug\fR,
  778. \fIinfo\fR,
  779. \fInotice\fR,
  780. \fIwarn\fR
  781. or
  782. \fIerror\fR\&. Default:
  783. \fIdebug\fR
  784. .RE
  785. .PP
  786. \fB\-\-summary\-interval\fR=SEC
  787. .RS 4
  788. Set interval in seconds to output download progress summary\&. Setting
  789. \fI0\fR
  790. suppresses the output\&. Default:
  791. \fI60\fR
  792. .RE
  793. .sp
  794. .it 1 an-trap
  795. .nr an-no-space-flag 1
  796. .nr an-break-flag 1
  797. .br
  798. Note
  799. In multi file torrent downloads, the files adjacent forward to the specified files are also allocated if they share the same piece\&.
  800. .PP
  801. \fB\-Z\fR, \fB\-\-force\-sequential\fR[=\fItrue\fR|\fIfalse\fR]
  802. .RS 4
  803. Fetch URIs in the command\-line sequentially and download each URI in a separate session, like the usual command\-line download utilities\&. Default:
  804. \fIfalse\fR
  805. .RE
  806. .PP
  807. \fB\-\-http\-server\-listen\-port\fR=PORT
  808. .RS 4
  809. Specify a port number for the built\-in HTTP Server to listen to\&. See also
  810. \fB\-\-enable\-http\-server\fR
  811. option\&. The possible Values are
  812. \fI1024\fR\-\fI65535\fR\&. Default:
  813. \fI6800\fR
  814. .RE
  815. .PP
  816. \fB\-\-max\-download\-limit\fR=SPEED
  817. .RS 4
  818. Set max download speed in bytes per sec\&.
  819. \fI0\fR
  820. means unrestricted\&. You can append
  821. \fIK\fR
  822. or
  823. \fIM\fR(1K = 1024, 1M = 1024K)\&. Default:
  824. \fI0\fR
  825. .RE
  826. .PP
  827. \fB\-\-no\-conf\fR
  828. .RS 4
  829. Disable loading aria2\&.conf file\&.
  830. .RE
  831. .PP
  832. \fB\-\-no\-file\-allocation\-limit\fR=SIZE
  833. .RS 4
  834. No file allocation is made for files whose size is smaller than SIZE\&. You can append
  835. \fIK\fR
  836. or
  837. \fIM\fR(1K = 1024, 1M = 1024K)\&. Default:
  838. \fI5M\fR
  839. .RE
  840. .PP
  841. \fB\-P\fR, \fB\-\-parameterized\-uri\fR[=\fItrue\fR|\fIfalse\fR]
  842. .RS 4
  843. Enable parameterized URI support\&. You can specify set of parts:
  844. \fIhttp://{sv1,sv2,sv3}/foo\&.iso\fR\&. Also you can specify numeric sequences with step counter:
  845. \fIhttp://host/image[000\-100:2]\&.img\fR\&. A step counter can be omitted\&. If all URIs do not point to the same file, such as the second example above, \-Z option is required\&. Default:
  846. \fIfalse\fR
  847. .RE
  848. .PP
  849. \fB\-q\fR, \fB\-\-quiet\fR[=\fItrue\fR|\fIfalse\fR]
  850. .RS 4
  851. Make aria2 quiet (no console output)\&. Default:
  852. \fIfalse\fR
  853. .RE
  854. .PP
  855. \fB\-\-realtime\-chunk\-checksum\fR=\fItrue\fR|\fIfalse\fR
  856. .RS 4
  857. Validate chunk of data by calculating checksum while downloading a file if chunk checksums are provided\&. Default:
  858. \fItrue\fR
  859. .RE
  860. .PP
  861. \fB\-\-stop\fR=SEC
  862. .RS 4
  863. Stop application after SEC seconds has passed\&. If
  864. \fI0\fR
  865. is given, this feature is disabled\&. Default:
  866. \fI0\fR
  867. .RE
  868. .PP
  869. \fB\-v\fR, \fB\-\-version\fR
  870. .RS 4
  871. Print the version number, copyright and the configuration information and exit\&.
  872. .RE
  873. .SS "OPTIONS THAT TAKE AN OPTIONAL ARGUMENT"
  874. The options that have its argument surrounded by square brackets([]) take an optional argument\&. Usually omiting the argument is evaluated to \fItrue\fR\&. If you use short form of these options(such as \fI\-V\fR) and give an argument, then the option name and its argument should be concatenated(e\&.g\&. \fI\-Vfalse\fR)\&. If any spaces are inserted between the option name and the argument, the argument will be treated as URI and usually this is not what you expect\&.
  875. .sp
  876. .SS "URL, TORRENT_FILE, METALINK_FILE"
  877. You can specify multiple URLs in command\-line\&. Unless you specify \fB\-Z\fR option, all URLs must point to the same file or downloading will fail\&.
  878. .sp
  879. You can also specify arbitrary number of torrent files and metalink files stored on a local drive\&. Please note that they are always treated as a separate download\&.
  880. .sp
  881. You can specify both torrent file with \-T option and URLs\&. By doing this, you can download a file from both torrent swarm and HTTP(S)/FTP server at the same time, while the data from HTTP(S)/FTP are uploaded to the torrent swarm\&. Note that only single file torrent can be integrated with HTTP(S)/FTP\&.
  882. .sp
  883. .sp
  884. .it 1 an-trap
  885. .nr an-no-space-flag 1
  886. .nr an-break-flag 1
  887. .br
  888. Note
  889. Make sure that URL is quoted with single(\') or double(") quotation if it contains "&" or any characters that have special meaning in shell\&.
  890. .sp
  891. .SH "EXAMPLES"
  892. .SS "HTTP/FTP Segmented Download"
  893. .sp
  894. .it 1 an-trap
  895. .nr an-no-space-flag 1
  896. .nr an-break-flag 1
  897. .br
  898. Download a file
  899. .RS
  900. .sp
  901. .RS 4
  902. .nf
  903. aria2c http://host/file\&.zip
  904. .fi
  905. .RE
  906. .sp
  907. .it 1 an-trap
  908. .nr an-no-space-flag 1
  909. .nr an-break-flag 1
  910. .br
  911. Note
  912. aria2 uses 5 connections to download 1 file by default\&.
  913. .sp
  914. .RE
  915. .sp
  916. .it 1 an-trap
  917. .nr an-no-space-flag 1
  918. .nr an-break-flag 1
  919. .br
  920. Download a file using 1 connection
  921. .RS
  922. .sp
  923. .RS 4
  924. .nf
  925. aria2c \-s1 http://host/file\&.zip
  926. .fi
  927. .RE
  928. .sp
  929. .it 1 an-trap
  930. .nr an-no-space-flag 1
  931. .nr an-break-flag 1
  932. .br
  933. Note
  934. aria2 uses 5 connections to download 1 file by default\&. \-s1 limits the number of connections to just 1\&.
  935. .sp
  936. .sp
  937. .it 1 an-trap
  938. .nr an-no-space-flag 1
  939. .nr an-break-flag 1
  940. .br
  941. Note
  942. 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\&.
  943. .sp
  944. .RE
  945. .sp
  946. .it 1 an-trap
  947. .nr an-no-space-flag 1
  948. .nr an-break-flag 1
  949. .br
  950. Download a file from 2 different HTTP servers
  951. .RS
  952. .sp
  953. .RS 4
  954. .nf
  955. aria2c http://host/file\&.zip http://mirror/file\&.zip
  956. .fi
  957. .RE
  958. .RE
  959. .sp
  960. .it 1 an-trap
  961. .nr an-no-space-flag 1
  962. .nr an-break-flag 1
  963. .br
  964. Download a file from HTTP and FTP servers
  965. .RS
  966. .sp
  967. .RS 4
  968. .nf
  969. aria2c http://host1/file\&.zip ftp://host2/file\&.zip
  970. .fi
  971. .RE
  972. .RE
  973. .sp
  974. .it 1 an-trap
  975. .nr an-no-space-flag 1
  976. .nr an-break-flag 1
  977. .br
  978. Download files listed in a text file concurrently
  979. .RS
  980. .sp
  981. .RS 4
  982. .nf
  983. aria2c \-ifiles\&.txt \-j2
  984. .fi
  985. .RE
  986. .sp
  987. .it 1 an-trap
  988. .nr an-no-space-flag 1
  989. .nr an-break-flag 1
  990. .br
  991. Note
  992. \-j option specifies the number of parallel downloads\&.
  993. .sp
  994. .RE
  995. .sp
  996. .it 1 an-trap
  997. .nr an-no-space-flag 1
  998. .nr an-break-flag 1
  999. .br
  1000. Using proxy
  1001. .RS
  1002. For HTTP:
  1003. .sp
  1004. .sp
  1005. .RS 4
  1006. .nf
  1007. aria2c \-\-http\-proxy=http://proxy:8080 http://host/file
  1008. .fi
  1009. .RE
  1010. For FTP:
  1011. .sp
  1012. .sp
  1013. .RS 4
  1014. .nf
  1015. aria2c \-\-ftp\-proxy=http://proxy:8080 ftp://host/file
  1016. .fi
  1017. .RE
  1018. .sp
  1019. .it 1 an-trap
  1020. .nr an-no-space-flag 1
  1021. .nr an-break-flag 1
  1022. .br
  1023. Note
  1024. See \fB\-\-http\-proxy\fR, \fB\-\-https\-proxy\fR, \fB\-\-ftp\-proxy\fR and \fB\-\-all\-proxy\fR for details\&. You can specify proxy in the environment variables\&. See ENVIRONMENT section\&.
  1025. .sp
  1026. .RE
  1027. .sp
  1028. .it 1 an-trap
  1029. .nr an-no-space-flag 1
  1030. .nr an-break-flag 1
  1031. .br
  1032. Proxy with authorization
  1033. .RS
  1034. .sp
  1035. .RS 4
  1036. .nf
  1037. aria2c \-\-http\-proxy=http://username:password@proxy:8080 http://host/file
  1038. .fi
  1039. .RE
  1040. .RE
  1041. .SS "Metalink Download"
  1042. .sp
  1043. .it 1 an-trap
  1044. .nr an-no-space-flag 1
  1045. .nr an-break-flag 1
  1046. .br
  1047. Download files with remote Metalink
  1048. .RS
  1049. .sp
  1050. .RS 4
  1051. .nf
  1052. aria2c \-\-follow\-metalink=mem http://host/file\&.metalink
  1053. .fi
  1054. .RE
  1055. .RE
  1056. .sp
  1057. .it 1 an-trap
  1058. .nr an-no-space-flag 1
  1059. .nr an-break-flag 1
  1060. .br
  1061. Download using a local metalink file
  1062. .RS
  1063. .sp
  1064. .RS 4
  1065. .nf
  1066. aria2c \-p \-\-lowest\-speed\-limit=4000 file\&.metalink
  1067. .fi
  1068. .RE
  1069. .sp
  1070. .it 1 an-trap
  1071. .nr an-no-space-flag 1
  1072. .nr an-break-flag 1
  1073. .br
  1074. Note
  1075. To pause a download, press Ctrl\-C\&. You can resume the transfer by running aria2c with the same argument in the same directory\&.
  1076. .sp
  1077. .RE
  1078. .sp
  1079. .it 1 an-trap
  1080. .nr an-no-space-flag 1
  1081. .nr an-break-flag 1
  1082. .br
  1083. Download several local metalink files
  1084. .RS
  1085. .sp
  1086. .RS 4
  1087. .nf
  1088. aria2c \-j2 file1\&.metalink file2\&.metalink
  1089. .fi
  1090. .RE
  1091. .RE
  1092. .sp
  1093. .it 1 an-trap
  1094. .nr an-no-space-flag 1
  1095. .nr an-break-flag 1
  1096. .br
  1097. Download only selected files using index
  1098. .RS
  1099. .sp
  1100. .RS 4
  1101. .nf
  1102. aria2c \-\-select\-file=1\-4,8 file\&.metalink
  1103. .fi
  1104. .RE
  1105. .sp
  1106. .it 1 an-trap
  1107. .nr an-no-space-flag 1
  1108. .nr an-break-flag 1
  1109. .br
  1110. Note
  1111. The index is printed to the console using \-S option\&.
  1112. .sp
  1113. .RE
  1114. .sp
  1115. .it 1 an-trap
  1116. .nr an-no-space-flag 1
  1117. .nr an-break-flag 1
  1118. .br
  1119. Download a file using a local .metalink file with user preference
  1120. .RS
  1121. .sp
  1122. .RS 4
  1123. .nf
  1124. aria2c \-\-metalink\-location=JP,US \-\-metalink\-version=1\&.1 \-\-metalink\-language=en\-US file\&.metalink
  1125. .fi
  1126. .RE
  1127. .RE
  1128. .SS "BitTorrent Download"
  1129. .sp
  1130. .it 1 an-trap
  1131. .nr an-no-space-flag 1
  1132. .nr an-break-flag 1
  1133. .br
  1134. Download files from remote BitTorrent file
  1135. .RS
  1136. .sp
  1137. .RS 4
  1138. .nf
  1139. aria2c \-\-follow\-torrent=mem http://host/file\&.torrent
  1140. .fi
  1141. .RE
  1142. .RE
  1143. .sp
  1144. .it 1 an-trap
  1145. .nr an-no-space-flag 1
  1146. .nr an-break-flag 1
  1147. .br
  1148. Download using a local torrent file
  1149. .RS
  1150. .sp
  1151. .RS 4
  1152. .nf
  1153. aria2c \-\-max\-upload\-limit=40K file\&.torrent
  1154. .fi
  1155. .RE
  1156. .sp
  1157. .it 1 an-trap
  1158. .nr an-no-space-flag 1
  1159. .nr an-break-flag 1
  1160. .br
  1161. Note
  1162. \-\-max\-upload\-limit specifies the max of upload rate\&.
  1163. .sp
  1164. .sp
  1165. .it 1 an-trap
  1166. .nr an-no-space-flag 1
  1167. .nr an-break-flag 1
  1168. .br
  1169. Note
  1170. To pause a download, press Ctrl\-C\&. You can resume the transfer by run aria2c with the same argument in the same directory\&.
  1171. .sp
  1172. .RE
  1173. .sp
  1174. .it 1 an-trap
  1175. .nr an-no-space-flag 1
  1176. .nr an-break-flag 1
  1177. .br
  1178. Download 2 torrents
  1179. .RS
  1180. .sp
  1181. .RS 4
  1182. .nf
  1183. aria2c \-j2 file1\&.torrent file2\&.torrent
  1184. .fi
  1185. .RE
  1186. .RE
  1187. .sp
  1188. .it 1 an-trap
  1189. .nr an-no-space-flag 1
  1190. .nr an-break-flag 1
  1191. .br
  1192. Download a file using torrent and HTTP/FTP server
  1193. .RS
  1194. .sp
  1195. .RS 4
  1196. .nf
  1197. aria2c \-Ttest\&.torrent http://host1/file ftp://host2/file
  1198. .fi
  1199. .RE
  1200. .sp
  1201. .it 1 an-trap
  1202. .nr an-no-space-flag 1
  1203. .nr an-break-flag 1
  1204. .br
  1205. Note
  1206. Downloading multi file torrent with HTTP/FTP is not supported\&.
  1207. .sp
  1208. .RE
  1209. .sp
  1210. .it 1 an-trap
  1211. .nr an-no-space-flag 1
  1212. .nr an-break-flag 1
  1213. .br
  1214. Download only selected files using index(usually called "selectable download")
  1215. .RS
  1216. .sp
  1217. .RS 4
  1218. .nf
  1219. aria2c \-\-select\-file=1\-4,8 file\&.torrent
  1220. .fi
  1221. .RE
  1222. .sp
  1223. .it 1 an-trap
  1224. .nr an-no-space-flag 1
  1225. .nr an-break-flag 1
  1226. .br
  1227. Note
  1228. The index is printed to the console using \-S option\&.
  1229. .sp
  1230. .RE
  1231. .sp
  1232. .it 1 an-trap
  1233. .nr an-no-space-flag 1
  1234. .nr an-break-flag 1
  1235. .br
  1236. Change the listening port for incoming peer
  1237. .RS
  1238. .sp
  1239. .RS 4
  1240. .nf
  1241. aria2c \-\-listen\-port=7000\-7001,8000 file\&.torrent
  1242. .fi
  1243. .RE
  1244. .sp
  1245. .it 1 an-trap
  1246. .nr an-no-space-flag 1
  1247. .nr an-break-flag 1
  1248. .br
  1249. Note
  1250. Since aria2 doesn\'t configure firewall or router for port forwarding, it\'s up to you to do it manually\&.
  1251. .sp
  1252. .RE
  1253. .sp
  1254. .it 1 an-trap
  1255. .nr an-no-space-flag 1
  1256. .nr an-break-flag 1
  1257. .br
  1258. Specify the condition to stop program after torrent download finished
  1259. .RS
  1260. .sp
  1261. .RS 4
  1262. .nf
  1263. aria2c \-\-seed\-time=120 \-\-seed\-ratio=1\&.0 file\&.torrent
  1264. .fi
  1265. .RE
  1266. .sp
  1267. .it 1 an-trap
  1268. .nr an-no-space-flag 1
  1269. .nr an-break-flag 1
  1270. .br
  1271. Note
  1272. In the above example, the program exits when the 120 minutes has elapsed since download completed or seed ratio reaches 1\&.0\&.
  1273. .sp
  1274. .RE
  1275. .sp
  1276. .it 1 an-trap
  1277. .nr an-no-space-flag 1
  1278. .nr an-break-flag 1
  1279. .br
  1280. Throttle upload speed
  1281. .RS
  1282. .sp
  1283. .RS 4
  1284. .nf
  1285. aria2c \-\-max\-upload\-limit=100K file\&.torrent
  1286. .fi
  1287. .RE
  1288. .RE
  1289. .sp
  1290. .it 1 an-trap
  1291. .nr an-no-space-flag 1
  1292. .nr an-break-flag 1
  1293. .br
  1294. Enable DHT
  1295. .RS
  1296. .sp
  1297. .RS 4
  1298. .nf
  1299. aria2c \-\-enable\-dht \-\-dht\-listen\-port=6881 file\&.torrent
  1300. .fi
  1301. .RE
  1302. .sp
  1303. .it 1 an-trap
  1304. .nr an-no-space-flag 1
  1305. .nr an-break-flag 1
  1306. .br
  1307. Note
  1308. DHT uses udp port\&. Since aria2 doesn\'t configure firewall or router for port forwarding, it\'s up to you to do it manually\&.
  1309. .sp
  1310. .RE
  1311. .SS "More advanced HTTP features"
  1312. .sp
  1313. .it 1 an-trap
  1314. .nr an-no-space-flag 1
  1315. .nr an-break-flag 1
  1316. .br
  1317. Load cookies
  1318. .RS
  1319. .sp
  1320. .RS 4
  1321. .nf
  1322. aria2c \-\-load\-cookies=cookies\&.txt http://host/file\&.zip
  1323. .fi
  1324. .RE
  1325. .sp
  1326. .it 1 an-trap
  1327. .nr an-no-space-flag 1
  1328. .nr an-break-flag 1
  1329. .br
  1330. Note
  1331. You can use Firefox/Mozilla\'s cookie file without modification\&.
  1332. .sp
  1333. .RE
  1334. .sp
  1335. .it 1 an-trap
  1336. .nr an-no-space-flag 1
  1337. .nr an-break-flag 1
  1338. .br
  1339. Resume download started by web browsers or another programs
  1340. .RS
  1341. .sp
  1342. .RS 4
  1343. .nf
  1344. aria2c \-c \-s2 http://host/partiallydownloadedfile\&.zip
  1345. .fi
  1346. .RE
  1347. .RE
  1348. .sp
  1349. .it 1 an-trap
  1350. .nr an-no-space-flag 1
  1351. .nr an-break-flag 1
  1352. .br
  1353. Client certificate authorization for SSL/TLS
  1354. .RS
  1355. .sp
  1356. .RS 4
  1357. .nf
  1358. aria2c \-\-certificate=/path/to/mycert\&.pem \-\-private\-key=/path/to/mykey\&.pem https://host/file
  1359. .fi
  1360. .RE
  1361. .sp
  1362. .it 1 an-trap
  1363. .nr an-no-space-flag 1
  1364. .nr an-break-flag 1
  1365. .br
  1366. Note
  1367. The file specified in \fB\-\-private\-key\fR must be decrypted\&. The behavior when encrypted one is given is undefined\&.
  1368. .sp
  1369. .RE
  1370. .sp
  1371. .it 1 an-trap
  1372. .nr an-no-space-flag 1
  1373. .nr an-break-flag 1
  1374. .br
  1375. Verify peer in SSL/TLS using given CA certificates
  1376. .RS
  1377. .sp
  1378. .RS 4
  1379. .nf
  1380. aria2c \-\-ca\-certificate=/path/to/ca\-certificates\&.crt \-\-check\-certificate https://host/file
  1381. .fi
  1382. .RE
  1383. .RE
  1384. .SS "And more advanced features"
  1385. .sp
  1386. .it 1 an-trap
  1387. .nr an-no-space-flag 1
  1388. .nr an-break-flag 1
  1389. .br
  1390. Throttle download speed
  1391. .RS
  1392. .sp
  1393. .RS 4
  1394. .nf
  1395. aria2c \-\-max\-download\-limit=100K file\&.metalink
  1396. .fi
  1397. .RE
  1398. .RE
  1399. .sp
  1400. .it 1 an-trap
  1401. .nr an-no-space-flag 1
  1402. .nr an-break-flag 1
  1403. .br
  1404. Repair a damaged download using -V option
  1405. .RS
  1406. .sp
  1407. .RS 4
  1408. .nf
  1409. aria2c \-V file\&.metalink
  1410. .fi
  1411. .RE
  1412. .sp
  1413. .it 1 an-trap
  1414. .nr an-no-space-flag 1
  1415. .nr an-break-flag 1
  1416. .br
  1417. Note
  1418. This option is only available used with BitTorrent or metalink with chunk checksums\&.
  1419. .sp
  1420. .RE
  1421. .sp
  1422. .it 1 an-trap
  1423. .nr an-no-space-flag 1
  1424. .nr an-break-flag 1
  1425. .br
  1426. Drop connection if download speed is lower than specified value
  1427. .RS
  1428. .sp
  1429. .RS 4
  1430. .nf
  1431. aria2c \-\-lowest\-speed\-limit=10K file\&.metalink
  1432. .fi
  1433. .RE
  1434. .RE
  1435. .sp
  1436. .it 1 an-trap
  1437. .nr an-no-space-flag 1
  1438. .nr an-break-flag 1
  1439. .br
  1440. Parameterized URI support
  1441. .RS
  1442. You can specify set of parts:
  1443. .sp
  1444. .sp
  1445. .RS 4
  1446. .nf
  1447. aria2c \-P http://{host1,host2,host3}/file\&.iso
  1448. .fi
  1449. .RE
  1450. You can specify numeric sequence:
  1451. .sp
  1452. .sp
  1453. .RS 4
  1454. .nf
  1455. aria2c \-Z \-P http://host/image[000\-100]\&.png
  1456. .fi
  1457. .RE
  1458. .sp
  1459. .it 1 an-trap
  1460. .nr an-no-space-flag 1
  1461. .nr an-break-flag 1
  1462. .br
  1463. Note
  1464. \-Z option is required if the all URIs don\'t point to the same file, such as the above example\&.
  1465. .sp
  1466. You can specify step counter:
  1467. .sp
  1468. .sp
  1469. .RS 4
  1470. .nf
  1471. aria2c \-Z \-P http://host/image[A\-Z:2]\&.png
  1472. .fi
  1473. .RE
  1474. .RE
  1475. .sp
  1476. .it 1 an-trap
  1477. .nr an-no-space-flag 1
  1478. .nr an-break-flag 1
  1479. .br
  1480. Parallel downloads of arbitrary number of URL,metalink,torrent
  1481. .RS
  1482. .sp
  1483. .RS 4
  1484. .nf
  1485. aria2c \-j3 \-Z http://host/file1 file2\&.torrent file3\&.metalink
  1486. .fi
  1487. .RE
  1488. .RE
  1489. .sp
  1490. .it 1 an-trap
  1491. .nr an-no-space-flag 1
  1492. .nr an-break-flag 1
  1493. .br
  1494. BitTorrent Encryption
  1495. .RS
  1496. Encrypt whole payload using ARC4:
  1497. .sp
  1498. .sp
  1499. .RS 4
  1500. .nf
  1501. aria2c \-\-bt\-min\-crypto\-level=arc4 \-\-bt\-require\-crypto=true file\&.torrent
  1502. .fi
  1503. .RE
  1504. .RE
  1505. .SH "RESUME DOWNLOAD"
  1506. Usually, you can resume transfer by just issuing same command(aria2c URL) if the previous transfer is made by aria2\&.
  1507. .sp
  1508. If the previous transfer is made by a browser or wget like sequential download manager, then use \-c option to continue the transfer(aria2c \-c URL)\&.
  1509. .sp
  1510. .SH "CONTROL FILE"
  1511. aria2 uses a control file to track the progress of a download\&. A control file is placed in the same directory as the downloading file and its filename is the filename of downloading file with "\&.aria2" appended\&. For example, if you are downloading file\&.zip, then the control file should be file\&.zip\&.aria2\&. (There is a exception for this naming convention\&. If you are downloading a multi torrent, its control file is the "top directory" name of the torrent with "\&.aria2" appended\&. The "top directory" name is a value of "name" key in "info" directory in a torrent file\&.)
  1512. .sp
  1513. Usually a control file is deleted once download completed\&. If aria2 decides that download cannot be resumed(for example, when downloading a file from a HTTP server which doesn\'t support resume), a control file is not created\&.
  1514. .sp
  1515. Normally if you lose a control file, you cannot resume download\&. But if you have a torrent or metalink with chunk checksums for the file, you can resume the download without a control file by giving \-V option to aria2c in command\-line\&.
  1516. .sp
  1517. .SH "SEEDING DOWNLOADED FILE IN BITTORRENT"
  1518. You can seed downloaded file using \-V option\&.
  1519. .sp
  1520. .sp
  1521. .RS 4
  1522. .nf
  1523. aria2c \-V file\&.torrent
  1524. .fi
  1525. .RE
  1526. .SH "INPUT FILE"
  1527. The input file can contain a list of URIs for aria2 to download\&. You can specify multiple URIs for a single entity: separate URIs on a single line using the TAB character\&.
  1528. .sp
  1529. Each line is treated as if it is provided in command\-line argument\&. Therefore they are affected by \fB\-Z\fR and \fB\-P\fR options\&. The additional \fBout\fR and \fBdir\fR options can be specified after each line of URIs\&. This optional line must start with white space(s)\&.
  1530. .sp
  1531. For example, the content of uri\&.txt is
  1532. .sp
  1533. .sp
  1534. .RS 4
  1535. .nf
  1536. http://server/file\&.iso http://mirror/file\&.iso
  1537. dir=/iso_images
  1538. out=file\&.img
  1539. http://foo/bar
  1540. .fi
  1541. .RE
  1542. If aria2 is executed with \fB\-i\fR uri\&.txt \fB\-d\fR /tmp options, then \fIfile\&.iso\fR is saved as \fI/iso_images/file\&.img\fR and it is downloaded from http://server/file\&.iso and http://mirror/file\&.iso\&. The file \fIbar\fR is downloaded from http://foo/bar and saved as \fI/tmp/bar\fR\&.
  1543. .sp
  1544. In some cases, \fBout\fR parameter has no effect\&. See note of \fB\-\-out\fR option for the restrictions\&.
  1545. .sp
  1546. .SH "SERVER PERFORMANCE PROFILE"
  1547. This section describes the format of server performance profile\&. The file is plain text and each line has several NAME=VALUE pair, delimited by comma\&. Currently following NAMEs are recognized:
  1548. .PP
  1549. host
  1550. .RS 4
  1551. Hostname of the server\&. Required\&.
  1552. .RE
  1553. .PP
  1554. protocol
  1555. .RS 4
  1556. Protocol for this profile, such as ftp, http\&. Required\&.
  1557. .RE
  1558. .PP
  1559. dl_speed
  1560. .RS 4
  1561. The average download speed observed in the previous download in bytes per sec\&. Required\&.
  1562. .RE
  1563. .PP
  1564. last_updated
  1565. .RS 4
  1566. Last contact time in GMT with this server, specified in the seconds from the Epoch\&. Required\&.
  1567. .RE
  1568. .PP
  1569. status
  1570. .RS 4
  1571. ERROR is set when server cannot be reached or out\-of\-service or timeout occurred\&. Otherwise, OK is set\&.
  1572. .RE
  1573. 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\&.
  1574. .sp
  1575. An example follows:
  1576. .sp
  1577. .sp
  1578. .RS 4
  1579. .nf
  1580. host=localhost, protocol=http, dl_speed=32000, last_updated=1222491640, status=OK
  1581. host=localhost, protocol=ftp, dl_speed=0, last_updated=1222491632, status=ERROR
  1582. .fi
  1583. .RE
  1584. .SH "FILES"
  1585. .SS "aria2\&.conf"
  1586. User configuration file\&. It must be placed under $HOME/\&.aria2 and must be named aria2\&.conf\&. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command\-line option name without \fI\-\-\fR prefix\&. The lines beginning \fI#\fR are treated as comments\&.
  1587. .sp
  1588. .sp
  1589. .RS 4
  1590. .nf
  1591. # sample configuration file for aria2c
  1592. listen\-port=60000
  1593. dht\-listen\-port=60000
  1594. seed\-ratio=1\&.0
  1595. max\-upload\-limit=50K
  1596. ftp\-pasv=true
  1597. .fi
  1598. .RE
  1599. .SS "dht\&.dat"
  1600. By default, the routing table of DHT is saved to the path $HOME/\&.aria2/dht\&.dat\&.
  1601. .sp
  1602. .SH "ENVIRONMENT"
  1603. aria2 recognizes the following environment variables\&.
  1604. .PP
  1605. http_proxy [http://][USER:PASSWORD@]HOST[:PORT]
  1606. .RS 4
  1607. Specify proxy server for use in HTTP\&. Overrides http\-proxy value in configuration file\&. The command\-line option
  1608. \fB\-\-http\-proxy\fR
  1609. overrides this value\&.
  1610. .RE
  1611. .PP
  1612. https_proxy [http://][USER:PASSWORD@]HOST[:PORT]
  1613. .RS 4
  1614. Specify proxy server for use in HTTPS\&. Overrides https\-proxy value in configuration file\&. The command\-line option
  1615. \fB\-\-https\-proxy\fR
  1616. overrides this value\&.
  1617. .RE
  1618. .PP
  1619. ftp_proxy [http://][USER:PASSWORD@]HOST[:PORT]
  1620. .RS 4
  1621. Specify proxy server for use in FTP\&. Overrides ftp\-proxy value in configuration file\&. The command\-line option
  1622. \fB\-\-ftp\-proxy\fR
  1623. overrides this value\&.
  1624. .RE
  1625. .PP
  1626. all_proxy [http://][USER:PASSWORD@]HOST[:PORT]
  1627. .RS 4
  1628. Specify proxy server for use if no protocol\-specific proxy is specified\&. Overrides all\-proxy value in configuration file\&. The command\-line option
  1629. \fB\-\-all\-proxy\fR
  1630. overrides this value\&.
  1631. .RE
  1632. .PP
  1633. no_proxy [DOMAIN,\&...]
  1634. .RS 4
  1635. Specify comma\-separated hostname or domains to which proxy should not be used\&. Overrides no\-proxy value in configuration file\&. The command\-line option
  1636. \fB\-\-no\-proxy\fR
  1637. overrides this value\&.
  1638. .RE
  1639. .SH "EXIT CODES"
  1640. Because aria2 can handle multiple downloads at once, it encounters lots of errors in a session\&. aria2 returns the following exit codes based on the last error encountered\&.
  1641. .PP
  1642. 0
  1643. .RS 4
  1644. If all downloads are successful\&.
  1645. .RE
  1646. .PP
  1647. 1
  1648. .RS 4
  1649. If an unknown error occurs\&.
  1650. .RE
  1651. .PP
  1652. 2
  1653. .RS 4
  1654. If time out occurs\&.
  1655. .RE
  1656. .PP
  1657. 3
  1658. .RS 4
  1659. If a resource is not found\&.
  1660. .RE
  1661. .PP
  1662. 4
  1663. .RS 4
  1664. If aria2 sees the specfied number of "resource not found" error\&. See
  1665. \fB\-\-max\-file\-not\-found\fR
  1666. option)\&.
  1667. .RE
  1668. .PP
  1669. 5
  1670. .RS 4
  1671. If a download aborts because download speed is too slow\&. See
  1672. \fB\-\-lowest\-speed\-limit\fR
  1673. option)
  1674. .RE
  1675. .PP
  1676. 6
  1677. .RS 4
  1678. If network problem occurs\&.
  1679. .RE
  1680. .PP
  1681. 7
  1682. .RS 4
  1683. If there are unfinished downloads\&. This error is only reported if all finished downloads are successful and there are unfinished downloads in a queue when aria2 exits by pressing Ctrl\-C by an user or sending TERM or INT signal\&.
  1684. .RE
  1685. .sp
  1686. .it 1 an-trap
  1687. .nr an-no-space-flag 1
  1688. .nr an-break-flag 1
  1689. .br
  1690. Note
  1691. An error occurred in a finished download will not be reported as exit status\&.
  1692. .sp
  1693. .SH "RESOURCES"
  1694. Project web site: http://aria2\&.sourceforge\&.net/
  1695. .sp
  1696. metalink: http://www\&.metalinker\&.org/
  1697. .sp
  1698. .SH "REPORTING BUGS"
  1699. Report bugs to Tatsuhiro Tsujikawa <t\-tujikawa at users\&.sourceforge\&.net>
  1700. .sp
  1701. .SH "AUTHOR"
  1702. Tatsuhiro Tsujikawa <t\-tujikawa at users\&.sourceforge\&.net>
  1703. .sp
  1704. .SH "COPYRIGHT"
  1705. Copyright \(co 2006, 2008 Tatsuhiro Tsujikawa
  1706. .sp
  1707. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&.
  1708. .sp
  1709. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\&. See the GNU General Public License for more details\&.
  1710. .sp
  1711. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc\&., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA
  1712. .sp
  1713. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two\&. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL\&. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so\&. If you do not wish to do so, delete this exception statement from your version\&. If you delete this exception statement from all source files in the program, then also delete it here\&.
  1714. .sp