aria2c http(s),ftp,torrent,metalink Downloader
- klhrevolutionist
- Posts: 1121
- Joined: Wed 08 Jun 2005, 10:09
aria2c http(s),ftp,torrent,metalink Downloader
Webpage: http://aria2.sourceforge.net/
*update* Now includes xdg menu entry
Download: aria2c.tar.gz
Install as an alien package using pupget/petget
aria2c is a download utility with resuming and segmented downloading.
Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0.
License
*update* Now includes xdg menu entry
Download: aria2c.tar.gz
Install as an alien package using pupget/petget
aria2c is a download utility with resuming and segmented downloading.
Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0.
License
Last edited by klhrevolutionist on Fri 23 Feb 2007, 21:19, edited 6 times in total.
Heaven is on the way, until then let's get the truth out!
- klhrevolutionist
- Posts: 1121
- Joined: Wed 08 Jun 2005, 10:09
- klhrevolutionist
- Posts: 1121
- Joined: Wed 08 Jun 2005, 10:09
Muggins: I say you have not played with aria2c very much.
Take a look at these examples to see what thing thing can do.
Take a look at these examples to see what thing thing can do.
Code: Select all
specify at least one URL
Usage: aria2c [options] URL ...
aria2c [options] -T TORRENT_FILE FILE ...
aria2c [options] -M METALINK_FILE
Options:
-d, --dir=DIR The directory to store downloaded file.
-o, --out=FILE The file name for downloaded file.
-l, --log=LOG The file path to store log. If '-' is specified,
log is written to stdout.
-D, --daemon Run as daemon.
-s, --split=N Download a file using N connections. N must be
between 1 and 5. This option affects all URLs.
Thus, aria2 connects to each URL with
N connections.
--retry-wait=SEC Set amount of time in second between requests
for errors. Specify a value between 0 and 60.
Default: 5
-t, --timeout=SEC Set timeout in second. Default: 60
-m, --max-tries=N Set number of tries. 0 means unlimited.
Default: 5
--http-proxy=HOST:PORT Use HTTP proxy server. This affects to all
URLs.
--http-user=USER Set HTTP user. This affects to all URLs.
--http-passwd=PASSWD Set HTTP password. This affects to all URLs.
--http-proxy-user=USER Set HTTP proxy user. This affects to all URLs
--http-proxy-passwd=PASSWD Set HTTP proxy password. This affects to all URLs.
--http-proxy-method=METHOD Set the method to use in proxy request.
METHOD is either 'get' or 'tunnel'.
Default: tunnel
--http-auth-scheme=SCHEME Set HTTP authentication scheme. Currently, basic
is the only supported scheme.
Default: basic
--referer=REFERER Set Referer. This affects to all URLs.
--ftp-user=USER Set FTP user. This affects to all URLs.
Default: anonymous
--ftp-passwd=PASSWD Set FTP password. This affects to all URLs.
Default: ARIA2USER@
--ftp-type=TYPE Set FTP transfer type. TYPE is either 'binary'
or 'ascii'.
Default: binary
-p, --ftp-pasv Use passive mode in FTP.
--ftp-via-http-proxy=METHOD Use HTTP proxy in FTP. METHOD is either 'get' or
'tunnel'.
Default: tunnel
--lowest-speed-limit Close connection if download speed is lower than
or equal to this value(bytes per sec).
0 means aria2 does not care lowest speed limit.
You can append K or M(1K = 1024, 1M = 1024K).
This option does not affect BitTorrent download.
Default: 0
--max-download-limit Set max download speed in bytes per sec.
0 means unrestricted.
You can append K or M(1K = 1024, 1M = 1024K).
Default: 0
-T, --torrent-file=TORRENT_FILE The file path to .torrent file.
--follow-torrent=true|false Setting this option to false prevents aria2 to
enter BitTorrent mode even if the filename of
downloaded file ends with .torrent.
Default: true
-S, --show-files Print file listing of .torrent file and exit.
--direct-file-mapping=true|false Directly read from and write to each file
mentioned in .torrent file.
Default: true
--listen-port=PORT Set port number to listen to for peer connection.
--max-upload-limit Set max upload speed in bytes per sec.
0 means unrestricted.
You can append K or M(1K = 1024, 1M = 1024K).
Default: 0
--select-file=INDEX... Set file to download by specifing its index.
You can know file index through --show-files
option. Multiple indexes can be specified by using
',' like "3,6".
You can also use '-' to specify rangelike "1-5".
',' and '-' can be used together.
--seed-time=MINUTES Specify seeding time in minutes. See also
--seed-ratio option.
--seed-ratio=RATIO Specify share ratio. Seed completed torrents until
share ratio reaches RATIO. 1.0 is encouraged.
If --seed-time option is specified along with
this option, seeding ends when at least one of
the conditions is satisfied.
-M, --metalink-file=METALINK_FILE The file path to .metalink file.
-C, --metalink-servers=NUM_SERVERS The number of servers to connect to
simultaneously. If more than one connection per
server is required, use -s option.
Default: 15
--metalink-version=VERSION The version of file to download.
--metalink-language=LANGUAGE The language of file to download.
--metalink-os=OS The operating system the file is targeted.
--follow-metalink=true|false Setting this option to false prevents aria2 to
enter Metalink mode even if the filename of
downloaded file ends with .metalink.
Default: true
-v, --version Print the version number and exit.
-h, --help Print this message and exit.
URL:
You can specify multiple URLs. All URLs must point to the same file
or downloading fails.
FILE:
Specify files in multi-file torrent to download. Use conjunction with
-T option. This arguments are ignored if you specify --select-file option.
Examples:
Download a file by 1 connection:
aria2c http://AAA.BBB.CCC/file.zip
Download a file by 2 connections:
aria2c -s 2 http://AAA.BBB.CCC/file.zip
Download a file by 2 connections, each connects to a different server:
aria2c http://AAA.BBB.CCC/file.zip http://DDD.EEE.FFF/GGG/file.zip
You can mix up different protocols:
aria2c http://AAA.BBB.CCC/file.zip ftp://DDD.EEE.FFF/GGG/file.zip
Download a torrent:
aria2c -o test.torrent http://AAA.BBB.CCC/file.torrent
Download a torrent using local .torrent file:
aria2c -T test.torrent
Download only selected files:
aria2c -T test.torrent dir/file1.zip dir/file2.zip
Print file listing of .torrent file:
aria2c -T test.torrent -S
Metalink downloading:
aria2c http://AAA.BBB.CCC/file.metalink
Download a file using local .metalink file:
aria2c -M test.metalink
Metalink downloading with preferences:
aria2c -M test.metalink --metalink-version=1.1.1 --metalink-language=en-US
Report bugs to <tujikawa at users dot sourceforge dot net>
Heaven is on the way, until then let's get the truth out!
- klhrevolutionist
- Posts: 1121
- Joined: Wed 08 Jun 2005, 10:09
- Dingo
- Posts: 1437
- Joined: Tue 11 Dec 2007, 17:48
- Location: somewhere at the end of rainbow...
- Contact:
download from me (several other download manager in page)telemetric_au wrote:Server not found
http://puppylover.netsons.org/dokupuppy ... ad_manager
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
dropbox 2GB free
OpenOffice for Puppy Linux
More recent version complements muggins
http://www.murga-linux.com/puppy/viewtopic.php?t=21603&search_id=874462030
http://www.murga-linux.com/puppy/viewtopic.php?t=21603&search_id=874462030
quick question
I want to play with the defualt settings in aria2c.
I often start aria2c through flashgot, which so far as I can tell does not allow adding command line arguments.
this also means I donot keep the url naturally.
My real struggle is that if the connection drops so does aria2c, and I have to restart it manually. ( if I leave a file to download over night for example, and the connection drops for a minute, then what is the solution)
I guess there are 2 questions,
Is there a file which contains the default settings I can edit.
how can I set a download to not give up, unless I specifically tell it to.
many thanks.
(I am new to forums, is this where I should put this question, or should I have put this somewhere else?)
I often start aria2c through flashgot, which so far as I can tell does not allow adding command line arguments.
this also means I donot keep the url naturally.
My real struggle is that if the connection drops so does aria2c, and I have to restart it manually. ( if I leave a file to download over night for example, and the connection drops for a minute, then what is the solution)
I guess there are 2 questions,
Is there a file which contains the default settings I can edit.
how can I set a download to not give up, unless I specifically tell it to.
many thanks.
(I am new to forums, is this where I should put this question, or should I have put this somewhere else?)
thebeaky,
The developer has previously mentioned how to integrate aria2c with the flashgot plugin, for mozilla browsers. If you saved the following script, save as /usr/bin/aria2c.sh, and give it executable permissions, replacing /root/my-documents with whatever your default download directory is, then, where the link advises Finally, enter "[FOLDER] [URL] " in "Argument template" box., instead just enter URL in the template box, then it works.
You could try replacing the last line with:
and see whether that works...I don't have flashgot too test at moment. Also, you can send an email query to the developer.
The developer has previously mentioned how to integrate aria2c with the flashgot plugin, for mozilla browsers. If you saved the following script, save as /usr/bin/aria2c.sh, and give it executable permissions, replacing /root/my-documents with whatever your default download directory is, then, where the link advises Finally, enter "[FOLDER] [URL] " in "Argument template" box., instead just enter URL in the template box, then it works.
Code: Select all
#!/bin/sh
DLOAD_DIR=/root/my-documents
cd $DLOAD_DIR
rxvt -e aria2c $1
Code: Select all
rxvt -e aria2c -c $1
cool
hey, so that worked great,
does the default change,
the -c option is for resuming other programs files, but I found in the man pages a --enable-http-keep-alive=true,
which I have put in that file now, however I am yet to see if that does what I hope it does.
thanks
does the default change,
the -c option is for resuming other programs files, but I found in the man pages a --enable-http-keep-alive=true,
which I have put in that file now, however I am yet to see if that does what I hope it does.
thanks