2006-02-21 23:01:05 +08:00
|
|
|
aria2 - a simple utility for downloading files.
|
2006-02-17 21:35:04 +08:00
|
|
|
|
|
|
|
1. Disclaimer
|
|
|
|
-------------
|
|
|
|
This program comes with no warranty.
|
|
|
|
You must use this program at your own risk.
|
|
|
|
|
|
|
|
2. About aria2
|
|
|
|
--------------
|
2006-02-21 22:00:58 +08:00
|
|
|
aria2 has segmented downloading engine in its core. By segmented downloading,
|
2006-02-17 21:35:04 +08:00
|
|
|
it can download files very much faster than ordinary browsers.
|
|
|
|
|
|
|
|
aria2 is in very early development stage. Currently it has following features:
|
2006-02-21 23:01:05 +08:00
|
|
|
* HTTP/HTTPS GET support
|
2006-02-17 21:35:04 +08:00
|
|
|
* HTTP Proxy support
|
|
|
|
* HTTP BASIC authentication support
|
|
|
|
* HTTP Proxy authentication support
|
2006-02-21 23:01:05 +08:00
|
|
|
* FTP support(active, passive mode)
|
|
|
|
* FTP through HTTP proxy(GET command or tunneling)
|
2006-02-17 21:35:04 +08:00
|
|
|
* Segmented download
|
|
|
|
* Cookie support(currently aria2 ignores "expires")
|
|
|
|
* It can run as a daemon process.
|
2006-03-21 23:21:11 +08:00
|
|
|
* BitTorrent protocol support
|
2006-02-17 21:35:04 +08:00
|
|
|
|
|
|
|
3. How to build
|
|
|
|
---------------
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
|
|
|
|
The executable is aria2c in src directory.
|
2006-02-18 13:13:21 +08:00
|
|
|
|
|
|
|
4. SSL
|
|
|
|
------
|
2006-03-21 23:21:11 +08:00
|
|
|
You need OpenSSL library(0.9.7b or higher) to enable HTTPS and BitTorrent
|
|
|
|
support.
|
|
|
|
|
|
|
|
5. BitTorrrent
|
|
|
|
--------------
|
|
|
|
The filename of the downloaded file is determined as follows:
|
|
|
|
|
|
|
|
single-file mode:
|
|
|
|
If "name" key is present in .torrent file, filename is the value of "name"
|
|
|
|
key. Otherwise, filename is the basename of .torrent file appended by
|
|
|
|
".file". For example, .torrent file is "test.torrrent", then filename is
|
|
|
|
"test.torrent.file".
|
|
|
|
The directory to store the downloaded file can be specified by -d option.
|
|
|
|
multi-file mode:
|
|
|
|
The complete directory/file structure mentioned in .torrent file is
|
|
|
|
created.
|
|
|
|
The directory to store the top directory of downloaded files can be
|
|
|
|
specified by -d option.
|
|
|
|
|
2006-03-24 19:59:18 +08:00
|
|
|
In both mode, aria2 needs at least 2 times more disk space than the file size
|
|
|
|
itself because it creates complete temporary file.
|
|
|
|
|
2006-03-22 00:07:22 +08:00
|
|
|
Note:
|
|
|
|
* -o option is used to change the filename of downloaded .torrent file.
|
|
|
|
* This version only supports compact peers list format.
|
|
|
|
* The ports aria2c uses are 6881-6999.
|
|
|
|
* The maxmum number of peers are 55.
|