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
1
vote
1 answer

Any example of aria2 notifications listening like onDownloadComplete, onDownloadError or similar?

I am trying to orchestrate a downloading of files with aria2 tool. There is an example in the documentation like: import urllib2, json jsonreq = json.dumps({'jsonrpc':'2.0', 'id':'qwer', 'method':'aria2.addUri', …
RandomB
  • 3,367
  • 19
  • 30
1
vote
2 answers

Kill only a subprocess created by python on CMD

I have made a python script which downloads using aria2 downloader by running a shell command which can work on Windows and Linux. os.system("aria2c " + url + options) #some code I want to run if the process is stopped Now, I want to test my…
Ali Sajjad
  • 3,589
  • 1
  • 28
  • 38
1
vote
1 answer

Executing process substitution result as a script

I would like to create a temporary shell script, and pass it as a parameter to another script, i.e. a callback hook. Is it possible to use process substitution for that? In this example, aria2c allows a hook as a parameter. aria2c will call that…
Yuri Astrakhan
  • 8,808
  • 6
  • 63
  • 97
1
vote
0 answers

Aria2c pause and resume every 30 seconds

I have a problem with downloading files from a server, the problem is when I start to download files, download speed is good but after a couple of seconds, downloading speed decreases. I am using aria2c and want to know if there is any way to pause…
sankesi
  • 11
  • 2
1
vote
0 answers

no matching constructor for initialization of 'aria2: : DHKeyExchange

I was compiling and installing Aria2 and encountered following error when running make install: InternalDHKeyExchange. Cc: 117:5: error: no matching constructor for initialization of 'aria2: : DHKeyExchange: : n' (aka 'ulong < 1024 >') Make [2]:…
zi che
  • 11
  • 1
1
vote
2 answers

Calling a Bash function with an argument that has an ampersand in it

I want a bash function that turns this … download HELLO&P=1&Q=2 into this … aria2c -d ~/Downloads "HELLO&P=1&Q=2" HELLO&P=1&Q=2 is a MAGNET link. If it doesn’t have double quotes around it, aria2c doesn’t work. But I can’t seem to keep it all…
lukejanicke
  • 977
  • 1
  • 9
  • 25
1
vote
0 answers

Airia2: Save downloaded files to sqlite additionally to a unique identifier

I'm using aria2 to download a bunch of files my problem now is that I have to postprocess the files within a VBA Application. Until now the postprocessing logic is already written in VBA so I'm looking for a solution to read the urls not just from a…
McNulty
  • 31
  • 5
1
vote
2 answers

Aria2 continue download

I have an alias for aria2 that downloads from an input file from an ftp server. This is how I had it setup. aria2c --max-concurrent-downloads=1 --max-connection-per-server=6 --ftp-user= --ftp-passwd= --dir=/home//Downloads…
user7035457
1
vote
0 answers

How to export files of Baidu pan(baidu net disk) via aria2 without speed limits?

intall chrome extends BaiduExporter, then export aria2 link and download with aria. linux - How to keep directory structure with aria2? - Stack Overflow acgotaku/BaiduExporter: Assistant for Baidu to export download links to…
Mark Simon
  • 362
  • 4
  • 11
1
vote
1 answer

Downloading in parallel using wget or aria2 in windows from FTP site

How can I download all files (in parallel) using wget2 or aria from here: ftp://ftp.soilgrids.org/data/recent/ I tried aria2c -j 8 ftp://ftp.soilgrids.org/data/recent/ but it does not do anything (and does not show any error message either) I am on…
user308827
  • 21,227
  • 87
  • 254
  • 417
1
vote
1 answer

Inno Setup torrent download implementation

I am currently using Inno Download Plugin to download files for my installer, the biggest problem with this is that it fails to download the file correctly. Because of many reasons like bad connection. I would like to add an alternative method to…
1
vote
1 answer

Arabic characters and UTF-8 in aria2

I use aria2 to have download with XML_RPC and when i want to have a download like this in php : $client->aria2_addUri( array($url), array("dir"=>'/home/amir/دانلود') ); it will create a folder named Ø´Ø³ÛØ¨ instead of دانلود. i post a related post…
1
vote
1 answer

Getting Aria2 (aria2c) to resume download of files added via RPC

I am currently running aria2 in daemon mode in order to control it via xml-rpc commands. The addition of files via xml-rpc works fine. The problem I am trying to solve is how to get aria2 to resume the "session" if it is stopped abruptly, rather…
Zoran Pavlovic
  • 1,166
  • 2
  • 23
  • 38
1
vote
1 answer

Downloading simultaneously multiple files with big file lists on windows

I am looking for a program that could download simultaneously (like, about 100 files in parallel) multiple files. The only thing is, that this program should be able to handle very big lists of files (like 200MB of links), and should work on…
ojek
  • 9,680
  • 21
  • 71
  • 110
0
votes
0 answers

How to specify hash values in aria2c input file

I have a list of files with corresponding SHA256 hash values that I need to download and verify. After looking at the documentation for aria2c, I found that you can specify a hash value for the download so that aria2c can verify the integrity. The…
RogUE
  • 321
  • 2
  • 16