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
21
votes
2 answers

Can aria2c download list of urls with specific file names for each?

For example i have a list of URLs: https://link.com/file/get/somefile.ext https://go.com/download/anotherfile.ext https://program.com/selection/download.php?id=26162 I want to set a specific name for last URL, something like…
BladeMight
  • 2,670
  • 2
  • 21
  • 35
18
votes
2 answers

Aria2 don't re-download file

I'm using aria2 to download a list of files that is dynamically generated. I want it to skip the files that are already in the download directory, but instead of doing this, it just re-downloads them and adds a .1 to the filename. I tried using…
Lily Mara
  • 3,859
  • 4
  • 29
  • 48
13
votes
4 answers

linux: m3u8: how to manually download and create an mp4 from segments listed in .m3u8

I have an .m3u8 url i.e http://example.com/test.m3u8 I can download it by ffmpeg command: ffmpeg -y -loglevel verbose -i "http://example.com/test.m3u8" -c copy -f mpegts test.mp4 But i am trying to do this manually: I tried the following: 1)…
Santhosh
  • 9,965
  • 20
  • 103
  • 243
13
votes
2 answers

Download multiple files simultaneously (parallel) with custom filenames

In a bash script, I am trying to download multiple files in parallel, with custom filenames using a single command (no loops). I tried using aria2c: aria2c -j2 URL1 URL2 # BAD: outputs to a single file aria2c -j2 -Z URL1 -o 1 URL2 -o…
octosquidopus
  • 3,517
  • 8
  • 35
  • 53
11
votes
2 answers

Is it possible to seed only with aria2?

I build a little tool (IoT) with an Intel Compute Stick which downloads a torrent content and then seed it. And it works. Now I want to seed the files I have downloaded EVEN after a restart and without re-downloading them (for obvious…
Victor Castro
  • 1,232
  • 21
  • 40
11
votes
0 answers

Aria2 max-connection not working

I installed aria2 (1.18.1) in my ubuntu. but the problem is it can not increase download connection. aria2c -x 10 http://mirror.sg.leaseweb.net/speedtest/100mb.bin [#fe34b4 2.1MiB/95MiB(2%) CN:4 DL:233KiB ETA:6m49s] by default it only…
TonyStark
  • 379
  • 6
  • 22
10
votes
1 answer

How to close connection immediately after finishing download with aria2c?

Occasionally, I will leave an aria2c connection seeding after it has finished downloading, and then hop on a network which doesn't like me seeding. I'd like to immediately close the connection after I finishing downloading, preventing me from ever…
hbd
  • 674
  • 7
  • 21
8
votes
1 answer

Download with aria2 from a server with authentication

I have a file on a server under my account and I need to download it. Let us say that the url is http://my.server/files/myfile. I need to authenticate with username and password. I can do that with wget as follows wget…
passerby51
  • 835
  • 2
  • 9
  • 23
6
votes
1 answer

How to keep directory structure with aria2?

I need to download files simultaneously- wget doesn't support that so I want to try aria2. But I don't see an option in aria2 to keep directory structure.
Tom
  • 2,962
  • 3
  • 39
  • 69
5
votes
0 answers

How to make aria2c effectively handle "not at once" pipeline as job list file?

I would like to send jobs (files to download) to aria2c via stdin pipeline. aria2c -i - aria2c has failed to start downloads "at once" when new job had beed fed every few seconds. For 10+ short jobs it started download after input pipe has been…
AnFi
  • 10,493
  • 3
  • 23
  • 47
3
votes
1 answer

Having trouble downloading a file through FTP. (wget, curl, aria2c)

I am having trouble downloading a file through FTP (ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2017/11/PXD007635), this FTP site doesn't require any credential and I can download it directly by clicking it in my web browser. But when I tried to…
3
votes
0 answers

Can aria2c support POST request?

I'd like to submit a POST request and download the output using multiple download threads via aria2c. Is this possible? Thanks.
user1424739
  • 11,937
  • 17
  • 63
  • 152
3
votes
2 answers

Download multiple files with aria2c in parallel

I want to download multiple torrent files in parallel with aria2c with following codes: me@host:~/Downloads$ find . -iregex ".*.torrent" | while read line; do nohup aria2c "$line" &; done bash: syntax error near unexpected token `;' To solve the…
Alice
  • 1,360
  • 2
  • 13
  • 28
3
votes
0 answers

tqdm doesnt refresh on the same line

I'm having trouble figuring out how to properly nest tqdm in a loop. I'm trying to get the progress of aria2 download through xmlrpc interface. tqdm is able to read the progress, however with every update it puts it on new line therefore spamming…
kokozz
  • 37
  • 6
3
votes
1 answer

VBScript - Capturing output from stdout

I know this has been answered one in another question, but I simply do not understand how it is done. I am trying to get the output of a command line program (Aria2 downloader) into a HTA script so it can be parsed and the download percentage, file…
Ctrlaltdenied
  • 139
  • 3
  • 11
1
2 3 4 5