@@ -21,9 +21,8 @@ downloading a file like BitTorrent.
21
21
22
22
The project page is located at http://aria2.sourceforge.net/.
23
23
24
- See http://aria2.sourceforge.net/aria2c.1.html[aria2 Online Manual]
25
- and http://sourceforge.net/apps/trac/aria2/wiki/UsageExample[the usage
26
- example] to learn how to use aria2.
24
+ See `aria2 Online Manual <http://aria2.sourceforge.net/manual/en/html/ >`_
25
+ and `the usage examples <http://sourceforge.net/apps/trac/aria2/wiki/UsageExample >`_ to learn how to use aria2.
27
26
28
27
Features
29
28
--------
@@ -55,7 +54,7 @@ Here is a list of features:
55
54
* FTP through HTTP Proxy
56
55
* Download/Upload speed throttling
57
56
* BitTorrent extensions: Fast extension, DHT, PEX, MSE/PSE, Multi-Tracker
58
- * BitTorrent http://getright.com/seedtorrent.html[WEB-Seeding] . aria2
57
+ * BitTorrent ` WEB-Seeding < http://getright.com/seedtorrent.html >`_ . aria2
59
58
requests chunks more than piece size to reduce the request
60
59
overhead. It also supports pipelined requests with piece size.
61
60
* BitTorrent Local Peer Discovery
@@ -79,49 +78,48 @@ How to get source code
79
78
We maintain the source code at Github:
80
79
https://github.com/tatsuhiro-t/aria2
81
80
82
- To download the latest source code, run following command:
81
+ To get the latest source code, run following command: :
83
82
84
- ------------------------------------------------
85
- git clone git://github.com/tatsuhiro-t/aria2.git
86
- ------------------------------------------------
83
+ $ git clone git://github.com/tatsuhiro-t/aria2.git
87
84
88
85
This will create aria2 directory in your current directory and source
89
86
files are stored there.
90
87
91
88
Dependency
92
89
----------
93
90
94
- .External Library Dependency
95
- [options="header"]
96
- |==================================================================
97
- |features |dependency
98
- |HTTPS |GnuTLS or OpenSSL
99
- |BitTorrent |libnettle+libgmp or libgcrypt or OpenSSL
100
- |Metalink |libxml2 or Expat.
101
- |Checksum |libnettle or libgcrypt or OpenSSL
102
- |gzip, deflate in HTTP |zlib
103
- |Async DNS |C-Ares
104
- |Firefox3/Chromium cookie|libsqlite3
105
- |XML-RPC |libxml2 or Expat.
106
- |JSON-RPC over WebSocket |libnettle or libgcrypt or OpenSSL
107
- |==================================================================
108
-
109
- Note;;
91
+
92
+ ======================== ========================================
93
+ features dependency
94
+ ======================== ========================================
95
+ HTTPS GnuTLS or OpenSSL
96
+ BitTorrent libnettle+libgmp or libgcrypt or OpenSSL
97
+ Metalink libxml2 or Expat.
98
+ Checksum libnettle or libgcrypt or OpenSSL
99
+ gzip, deflate in HTTP zlib
100
+ Async DNS C-Ares
101
+ Firefox3/Chromium cookie libsqlite3
102
+ XML-RPC libxml2 or Expat.
103
+ JSON-RPC over WebSocket libnettle or libgcrypt or OpenSSL
104
+ ======================== ========================================
105
+
106
+
107
+ .. note ::
110
108
111
109
libxml2 has precedence over Expat if both libraries are installed.
112
- If you prefer Expat, run configure with \ --without-libxml2.
110
+ If you prefer Expat, run configure with `` --without-libxml2 `` .
113
111
114
- Note;;
112
+ .. note ::
115
113
116
114
GnuTLS has precedence over OpenSSL if both libraries are installed.
117
- If you prefer OpenSSL, run configure with \ --without-gnutls
118
- \ --with-openssl.
115
+ If you prefer OpenSSL, run configure with `` --without-gnutls ``
116
+ `` --with-openssl `` .
119
117
120
- Note;;
118
+ .. note ::
121
119
122
120
libnettle has precedence over libgcrypt if both libraries are
123
121
installed. If you prefer libgcrypt, run configure with
124
- \ --without-libnettle \ --with-libgcrypt. If OpenSSL is selected over
122
+ `` --without-libnettle --with-libgcrypt `` . If OpenSSL is selected over
125
123
GnuTLS, neither libnettle nor libgcrypt will be used.
126
124
127
125
A user can have one of the following configurations for SSL and crypto
@@ -133,9 +131,9 @@ libraries:
133
131
* GnuTLS + libgcrypt
134
132
* GnuTLS + libnettle
135
133
136
- You can disable BitTorrent, Metalink support by providing
137
- \ --disable-bittorrent, \ --disable-metalink respectively to configure
138
- script.
134
+ You can disable BitTorrent and Metalink support by providing
135
+ `` --disable-bittorrent `` and `` --disable-metalink `` to the configure
136
+ script respectively .
139
137
140
138
In order to enable async DNS support, you need c-ares.
141
139
@@ -176,21 +174,17 @@ gcc, gcc-c++, kernel-devel, libgcrypt-devel, libgcrypt-devel, libxml2-devel, ope
176
174
177
175
If you downloaded source code from git repository, you have to run
178
176
following command to generate configure script and other files
179
- necessary to build the program:
177
+ necessary to build the program::
180
178
181
- ---------------
182
- $ autoreconf -i
183
- ---------------
179
+ $ autoreconf -i
184
180
185
181
If you are building aria2 for Mac OS X, take a look at
186
182
build_osx_release.sh, which builds OSX universal binary DMG.
187
183
188
- The quickest way to build aria2 is just type following commands:
184
+ The quickest way to build aria2 is just type following commands::
189
185
190
- -------------
191
- $ ./configure
192
- $ make
193
- -------------
186
+ $ ./configure
187
+ $ make
194
188
195
189
The configure script checks available libraries and enables the features
196
190
as much as possible because all the features are enabled by default.
@@ -200,43 +194,40 @@ If you build with HTTPS support, I recommend to supply the path to the
200
194
CA bundle file. For example, in Debian the path to CA bundle file is
201
195
'/etc/ssl/certs/ca-certificates.crt' (in ca-certificates package). This
202
196
may vary depending on your distribution. You can give it to
203
- configure script using \ --with-ca-bundle option:
197
+ configure script using `` --with-ca-bundle option ``: :
204
198
205
- -------------------------------------------------------------------
206
- $ ./configure --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
207
- $ make
208
- -------------------------------------------------------------------
199
+ $ ./configure --with-ca-bundle='/etc/ssl/certs/ca-certificates.crt'
200
+ $ make
209
201
210
- Without \ --with-ca-bundle option, you will encounter the error when
202
+ Without `` --with-ca-bundle `` option, you will encounter the error when
211
203
accessing HTTPS servers because the certificate cannot be verified
212
204
without CA bundle. In such case, you can specify the CA bundle file
213
- using aria2's \ --ca-certificate option. If you don't have CA bundle
205
+ using aria2's `` --ca-certificate `` option. If you don't have CA bundle
214
206
file installed, then the last resort is disable the certificate
215
- validation using \ --check-certificate=false.
207
+ validation using `` --check-certificate=false `` .
216
208
217
209
The executable is 'aria2c' in src directory.
218
210
219
- aria2 uses CppUnit for automated unit testing. To run the unit test:
211
+ aria2 uses CppUnit for automated unit testing. To run the unit test::
220
212
221
- ------------
222
- $ make check
223
- ------------
213
+ $ make check
224
214
225
215
BitTorrrent
226
216
-----------
217
+
227
218
About filename
228
219
~~~~~~~~~~~~~~
229
220
The filename of the downloaded file is determined as follows:
230
221
231
- single-file mode::
222
+ single-file mode
232
223
If "name" key is present in .torrent file, filename is the value
233
224
of "name" key. Otherwise, filename is the basename of .torrent
234
225
file appended by ".file". For example, .torrent file is
235
226
"test.torrrent", then filename is "test.torrent.file". The
236
227
directory to store the downloaded file can be specified by -d
237
228
option.
238
229
239
- multi-file mode::
230
+ multi-file mode
240
231
The complete directory/file structure mentioned in .torrent file
241
232
is created. The directory to store the top directory of
242
233
downloaded files can be specified by -d option.
@@ -245,7 +236,7 @@ Before download starts, a complete directory structure is created if
245
236
needed. By default, aria2 opens at most 100 files mentioned in
246
237
.torrent file, and directly writes to and reads from these files.
247
238
The number of files to open simultaneously can be controlled by
248
- \ --bt-max-open-files option.
239
+ `` --bt-max-open-files `` option.
249
240
250
241
DHT
251
242
~~~
@@ -260,14 +251,14 @@ Other things should be noted
260
251
261
252
* -o option is used to change the filename of .torrent file itself,
262
253
not a filename of a file in .torrent file. For this purpose, use
263
- --index-out option instead.
254
+ `` --index-out `` option instead.
264
255
* The port numbers that aria2 uses by default are 6881-6999 for TCP
265
256
and UDP.
266
257
* aria2 doesn't configure port-forwarding automatically. Please
267
258
configure your router or firewall manually.
268
259
* The maximum number of peers is 55. This limit may be exceeded when
269
260
download rate is low. This download rate can be adjusted using
270
- \ --bt-request-peer-speed-limit option.
261
+ `` --bt-request-peer-speed-limit `` option.
271
262
* As of release 0.10.0, aria2 stops sending request message after
272
263
selective download completes.
273
264
@@ -306,7 +297,7 @@ piece with selected file are also created.
306
297
If relative URI is specified in metalink:url or metalink: metaurl
307
298
element, aria2 uses the URI of Metalink file as base URI to resolve
308
299
the relative URI. If relative URI is found in Metalink file which is
309
- read from local disk, aria2 uses the value of --metalink-base-uri
300
+ read from local disk, aria2 uses the value of `` --metalink-base-uri ``
310
301
option as base URI. If this option is not specified, the relative URI
311
302
will be ignored.
312
303
@@ -318,7 +309,7 @@ understands Digest header fields and check whether it matches the
318
309
digest value from other sources. If it differs, drop connection.
319
310
aria2 also uses this digest value to perform checksum verification
320
311
after download finished. aria2 recognizes geo value. To tell aria2
321
- which location you prefer, you can use --metalink-location option.
312
+ which location you prefer, you can use `` --metalink-location `` option.
322
313
323
314
netrc
324
315
-----
@@ -334,10 +325,11 @@ defined in RFC 6455. The supported protocol version is 13.
334
325
335
326
References
336
327
----------
337
- * http://aria2.sourceforge.net/aria2c.1.html[aria2 Online Manual]
338
- * http://aria2.sourceforge.net/
339
- * http://sourceforge.net/apps/trac/aria2/wiki
340
- * https://github.com/tatsuhiro-t/aria2
341
- * http://tools.ietf.org/html/rfc5854
342
- * http://tools.ietf.org/html/rfc6249
343
- * http://tools.ietf.org/html/rfc6455
328
+
329
+ * `aria2 Online Manual <http://aria2.sourceforge.net/manual/en/html/ >`_
330
+ * http://aria2.sourceforge.net/
331
+ * http://sourceforge.net/apps/trac/aria2/wiki
332
+ * https://github.com/tatsuhiro-t/aria2
333
+ * http://tools.ietf.org/html/rfc5854
334
+ * http://tools.ietf.org/html/rfc6249
335
+ * http://tools.ietf.org/html/rfc6455
0 commit comments