Questions tagged [aria2]

aria2 is a lightweight multi-protocol & multi-source download utility operated in command-line.

aria2 is a lightweight multi-protocol & multi-source command-line download utility. It supports

  • HTTP/HTTPS,
  • FTP,
  • SFTP,
  • 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.

Online References

71 questions
3
votes
1 answer

Aria2c - how to download a lot of files and ouput as 0.pdf, 1.pdf, 2.pdf ...?

I'm having a little problem here. I'm using the famous Aria2C file downloader and I have a list of links that I need to download. I know I can use: aria2c -o myOutputFile.exe http://www.fooBar.com/fooBarVirus.exe to download a single file and name…
Paladini
  • 4,522
  • 15
  • 53
  • 96
3
votes
1 answer

Is it possible to keep a local mirror of an FTP site with aria2?

I have a website to which I have FTP access only (otherwise I'd use rsync for this) and I'd like to keep a local copy of it. At the moment I run the following wget command every once in a while wget -m --ftp-user=me --ftp-password=secret…
2
votes
0 answers

aria2c - Any way to keep only list of failed downloads?

I am using aria2c to download a quite large list of urls (~6000) organized in a text file. Based on this gist, I am using the following script to download all the files: #!/bin/bash aria2c -j5 -i list.txt -c --save-session out.txt has_error=`wc -l <…
thiagoveloso
  • 2,537
  • 3
  • 28
  • 57
2
votes
1 answer

how to use Aria2c RPC server as a daemon?

I wish to run the Aria2c RPC server as a daemon so I can schedule download jobs from my own client using the RPC interface. But I want it to run as a daemon at the same time.
Mehant Kammakomati
  • 852
  • 1
  • 8
  • 25
2
votes
2 answers

on-download-complete can't work with aria2

i am not root user,so i install aria2-1.34.0 with ./configure --prefix=/home/xxx/.local, everything works fine but on-download-complete i set on-download-complete=/home/xxx/aria2/a.sh #!/bin/bash echo 123 > 1.txt when a task download completed, the…
2
votes
1 answer

bash can't capture output from aria2c to variable and stdout

I am trying to use aria2c to download a file. The command looks like this: aria2c --http-user=$USER --http-passwd=$usepw -x 16 -s 100 $urlPath The command works perfectly from the script when run this way. What I'm trying to do is capture the…
user1199956
  • 109
  • 1
  • 10
2
votes
0 answers

How Can I Increase The Download Speed of Android SDK Manager Using Multi-Threaded Download Managers Like axel or aria2?

How can I increase the download speed of Android SDK Manager using multi-threaded download managers like axel or aria2? My idea of the question actually comes from the same idea of Debian GNU/Linux's apt-get and apt-fast. For those who don't know…
superlinux
  • 476
  • 1
  • 4
  • 12
2
votes
2 answers

Aria2 working init script

I want that aria2 starts when the system is booting. I found different init.d scripts but non of them is working for me... Can you tell me whats wrong with that init.d script? #!/bin/sh ### BEGIN INIT INFO # Provides: Aria2 # Required-Start:…
mjx649
  • 81
  • 2
  • 9
2
votes
1 answer

Reading STDOUT from aria2c in PHP script

Here is simple PHP script:
2
votes
2 answers

How can I use aria2 with pacman?

I want to make an alias for zsh to download packages by aria2 and install them by pacman, I don't want to use aria2c by adding xfercommand to pacman.conf because of 2 things: First my internet connection's speed is low and I don't want pacman go…
GmArian
  • 21
  • 1
  • 4
1
vote
2 answers

Can't get on-download-complete to work with aria2

I've tried using the option at command line, used it in the aria2.conf file as well. But it just doesn't execute the on-download-complete shell file when it completes a torrent download. I ran aria2c as root, created the shell script as root, but…
Kanuj Bhatnagar
  • 1,320
  • 1
  • 14
  • 24
1
vote
1 answer

The aria2.addTorrent method in aria2c's RPC interface ignores "dir" option

I am using aria2c as a daemon (the RPC interface) on a server, and when I use aria2.addTorrent method to add a torrent + a specific directory where the files have to be downloaded, aria2c downloads the file but not in the directory that I…
1
vote
1 answer

downloading a single large file with aria2c

I want to download a file that is around 60GB in size. My internet speed is 100mbps but download speed is not utilizing my entire bandwidth. If I use aria2c to download this single file, I can utilize increased "connections per server"? It seems…
an0nhi11
  • 59
  • 1
  • 7
1
vote
1 answer

Windows Batch: wget to download Nirsoft tools - leads to corrupt files

As I made a batch file to update NirSoft tools, I had a strange experience using wget. First I downloaded a text file with pad links: wget http://www.nirsoft.net/pad/pad-links.txt --backups=20…
dimarco76
  • 23
  • 3
1
vote
1 answer

aria2 Unrecognized URI or unsupported protocol When the url have space in it

My input: http://www.example.com/New file.zip When try to download a remote file that have space in its url aria2 complains about it: Exception caught Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or unsupported protocol: New
Mwthreex
  • 913
  • 1
  • 11
  • 24