aria2c.1 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. .TH "ARIA2C" 1 "October 2006" "aria2 0.8.1"
  2. .SH NAME
  3. .P
  4. aria2c \- The high speed download utility
  5. .SH SYNOPSIS
  6. .TS
  7. tab(^); l.
  8. aria2c [\fIoptions\fR] \fIURL\fR ...
  9. aria2c [\fIoptions\fR] \fB\-T\fR \fITORRENT_FILE FILE\fR ...
  10. aria2c [\fIoptions\fR] \fB\-M\fR \fIMETALINK_FILE\fR
  11. .TE
  12. .SH DESCRIPTION
  13. .P
  14. aria2 is a utility for downloading files. It has completely new design
  15. concept from its predecessor, Aria, and is written from scratch.
  16. aria2 has a segmented downloading engine in its core.
  17. It can download one file from multiple URLs or multiple connections from one
  18. URL. This results in very high speed downloading, much faster than ordinary
  19. browsers. This engine in was implemented in a single\-thread model.
  20. The architecture is clean and easy to extend. aria2 currently supports HTTP,
  21. FTP, and BitTorrent. It also supports Metalink version 3.0.
  22. .P
  23. Please visit the project web site at \fIhttp://aria2.sourceforge.net\fR.
  24. .SH OPTIONS
  25. .TP
  26. \fB\-d\fR, \fB\-\-dir\fR=\fIDIR\fR
  27. The directory to store downloaded file.
  28. .TP
  29. \fB\-o\fR, \fB\-\-out\fR=\fIFILE\fR
  30. The file name for downloaded file.
  31. .TP
  32. \fB\-l\fR, \fB\-\-log\fR=\fILOG\fR
  33. The file path to store log. If '\-' is specified,
  34. log is written to stdout.
  35. .TP
  36. \fB\-D\fR, \fB\-\-daemon\fR
  37. Run as daemon.
  38. .TP
  39. \fB\-s\fR, \fB\-\-split\fR=\fIN\fR
  40. Download a file using \fIN\fR connections. \fIN\fR must be
  41. between 1 and 5. This option affects all URLs.
  42. Thus, aria2 connects to each URL with
  43. \fIN\fR connections.
  44. .TP
  45. \fB\-\-retry\-wait\fR=\fISEC\fR
  46. Set amount of time in second between requests
  47. for errors. Specify a value between 0 and 60.
  48. Default: 5
  49. .TP
  50. \fB\-t\fR, \fB\-\-timeout\fR=\fISEC\fR
  51. Set timeout in second. Default: 60
  52. .TP
  53. \fB\-m\fR, \fB\-\-max\-tries\fR=\fIN\fR
  54. Set number of tries. 0 means unlimited.
  55. Default: 5
  56. .TP
  57. \fB\-\-http\-proxy\fR=\fIHOST\fR:\fIPORT\fR
  58. Use HTTP proxy server. This affects to all
  59. URLs.
  60. .TP
  61. \fB\-\-http\-user\fR=\fIUSER\fR
  62. Set HTTP user. This affects to all URLs.
  63. .TP
  64. \fB\-\-http\-passwd\fR=\fIPASSWD\fR
  65. Set HTTP password. This affects to all URLs.
  66. .TP
  67. \fB\-\-http\-proxy\-user\fR=\fIUSER\fR
  68. Set HTTP proxy user. This affects to all URLs
  69. .TP
  70. \fB\-\-http\-proxy\-passwd\fR=\fIPASSWD\fR
  71. Set HTTP proxy password. This affects to all URLs.
  72. .TP
  73. \fB\-\-http\-proxy\-method\fR=\fIMETHOD\fR
  74. Set the method to use in proxy request.
  75. \fIMETHOD\fR is either 'get' or 'tunnel'.
  76. Default: tunnel
  77. .TP
  78. \fB\-\-http\-auth\-scheme\fR=\fISCHEME\fR
  79. Set HTTP authentication scheme. Currently, basic
  80. is the only supported scheme.
  81. Default: basic
  82. .TP
  83. \fB\-\-referer\fR=\fIREFERER\fR
  84. Set Referer. This affects to all URLs.
  85. .TP
  86. \fB\-\-ftp\-user\fR=\fIUSER\fR
  87. Set FTP user. This affects to all URLs.
  88. Default: anonymous
  89. .TP
  90. \fB\-\-ftp\-passwd\fR=\fIPASSWD\fR
  91. Set FTP password. This affects to all URLs.
  92. Default: ARIA2USER@
  93. .TP
  94. \fB\-\-ftp\-type\fR=\fITYPE\fR
  95. Set FTP transfer type. TYPE is either 'binary'
  96. or 'ascii'.
  97. Default: binary
  98. .TP
  99. \fB\-p\fR, \fB\-\-ftp\-pasv\fR
  100. Use passive mode in FTP.
  101. .TP
  102. \fB\-\-ftp\-via\-http\-proxy\fR=\fIMETHOD\fR
  103. Use HTTP proxy in FTP. \fIMETHOD\fR is either 'get' or
  104. \&'tunnel'.
  105. Default: tunnel
  106. .TP
  107. \fB\-\-lowest\-speed\-limit\fR=\fISPEED\fR
  108. Close connection if download speed is lower than
  109. or equal to this value(bytes per sec).
  110. 0 means aria2 does not care lowest speed limit.
  111. You can append K or M(1K = 1024, 1M = 1024K).
  112. This option does not affect BitTorrent download.
  113. Default: 0
  114. .TP
  115. \fB\-\-max\-download\-limit\fR=\fISPEED\fR
  116. Set max download speed in bytes per sec.
  117. 0 means unrestricted.
  118. You can append K or M(1K = 1024, 1M = 1024K).
  119. Default: 0
  120. .TP
  121. \fB\-T\fR, \fB\-\-torrent\-file\fR=\fITORRENT_FILE\fR
  122. The file path to .torrent file.
  123. .TP
  124. \fB\-\-follow\-torrent\fR=true|false
  125. Setting this option to false prevents aria2 to
  126. enter BitTorrent mode even if the filename of
  127. downloaded file ends with .torrent.
  128. Default: true
  129. .TP
  130. \fB\-S\fR, \fB\-\-show\-files\fR
  131. Print file listing of .torrent file and exit.
  132. .TP
  133. \fB\-\-direct\-file\-mapping\fR=true|false
  134. Directly read from and write to each file
  135. mentioned in .torrent file.
  136. Default: true
  137. .TP
  138. \fB\-\-listen\-port\fR=\fIPORT\fR
  139. Set port number to listen to for peer connection.
  140. .TP
  141. \fB\-\-max\-upload\-limit\fR=\fISPEED\fR
  142. Set max upload speed in bytes per sec.
  143. 0 means unrestricted.
  144. You can append K or M(1K = 1024, 1M = 1024K).
  145. Default: 0
  146. .TP
  147. \fB\-\-select\-file\fR=\fIINDEX\fR...
  148. Set file to download by specifing its index.
  149. You can know file index through \fB\-\-show\-files\fR
  150. option. Multiple indexes can be specified by using
  151. \&',' like "3,6".
  152. You can also use '\-' to specify rangelike "1\-5".
  153. \&',' and '\-' can be used together.
  154. .TP
  155. \fB\-\-seed\-time\fR=\fIMINUTES\fR
  156. Specify seeding time in minutes. See also
  157. \fB\-\-seed\-ratio\fR option.
  158. .TP
  159. \fB\-\-seed\-ratio\fR=\fIRATIO\fR
  160. Specify share ratio. Seed completed torrents until
  161. share ratio reaches RATIO. 1.0 is encouraged.
  162. If \fB\-\-seed\-time\fR option is specified along with
  163. this option, seeding ends when at least one of
  164. the conditions is satisfied.
  165. .TP
  166. \fB\-M\fR, \fB\-\-metalink\-file\fR=\fIMETALINK_FILE\fR
  167. The file path to .metalink file.
  168. .TP
  169. \fB\-C\fR, \fB\-\-metalink\-servers\fR=\fINUM_SERVERS\fR
  170. The number of servers to connect to
  171. simultaneously. If more than one connection per
  172. server is required, use \fB\-s\fR option.
  173. Default: 15
  174. .TP
  175. \fB\-\-metalink\-version\fR=\fIVERSION\fR
  176. The version of file to download.
  177. .TP
  178. \fB\-\-metalink\-language\fR=\fILANGUAGE\fR
  179. The language of file to download.
  180. .TP
  181. \fB\-\-metalink\-os\fR=\fIOS\fR
  182. The operating system the file is targeted.
  183. .TP
  184. \fB\-\-follow\-metalink\fR=true|false
  185. Setting this option to false prevents aria2 to
  186. enter Metalink mode even if the filename of
  187. downloaded file ends with .metalink.
  188. Default: true
  189. .TP
  190. \fB\-v\fR, \fB\-\-version\fR
  191. Print the version number and exit.
  192. .TP
  193. \fB\-h\fR, \fB\-\-help\fR
  194. Print this message and exit.
  195. .TP
  196. \fIURL\fR
  197. You can specify multiple URLs. All URLs must point to the same file
  198. or downloading fails.
  199. .TP
  200. \fIFILE\fR
  201. Specify files in multi\-file torrent to download. Use conjunction with
  202. \fB\-T\fR option. This arguments are ignored if you specify \fB\-\-select\-file\fR option.
  203. .SH REPORTING BUGS
  204. .P
  205. Report bugs to <tujikawa at users dot sourceforge dot net>
  206. .SH COPYRIGHT
  207. .P
  208. Copyright (C) 2006 Tatsuhiro Tsujikawa
  209. .P
  210. This program is free software; you can redistribute it and/or modify
  211. it under the terms of the GNU General Public License as published by
  212. the Free Software Foundation; either version 2 of the License, or
  213. (at your option) any later version.
  214. .P
  215. This program is distributed in the hope that it will be useful,
  216. but WITHOUT ANY WARRANTY; without even the implied warranty of
  217. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  218. GNU General Public License for more details.
  219. .P
  220. You should have received a copy of the GNU General Public License
  221. along with this program; if not, write to the Free Software
  222. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA
  223. .\" man code generated by txt2tags 2.3 (http://txt2tags.sf.net)
  224. .\" cmdline: txt2tags -t man aria2c.t2t