Are you bored with having to juggle a number of instruments to obtain recordsdata from numerous sources? For those who’re questioning why no one has created a instrument that may take care of HTTP, HTTPS, FTP, and BitTorrent downloads, it’s time you met aria2. Let’s see how you need to use it to simplify the way in which you obtain recordsdata from the Web.

Set up

Aria2 is cross-platform appropriate and is obtainable for Home windows, macOS, Linux and even Android. Yow will discover the installer at its GitHub web page.

Yow will discover the Android model in Google Play. For Linux, it’s best to have the ability to discover it in your repositories/software program heart/bundle supervisor. In case you are on Ubuntu, Debian, you’ll be able to carry it on board with:

How to download any file from different protocols to Aria2

Let’s Obtain with aria2c

Linux distributions are a good way to see aria2’s versatility in motion since they (normally) supply a number of totally different sources for his or her set up ISO’s. For this tutorial we are going to use Ubuntu’s set up ISO.

1. Begin by visiting its obtain web page.

How to download any file from different protocols to Aria2

2. Click on on the “see our various downloads” hyperlink beneath the “Obtain” button.

How to download any file from different protocols to Aria2

3. Click on on the “See all Ubuntu mirrors” hyperlink.

How to download any file from different protocols to Aria2

4. When you will have an inventory of HTTPS, HTTPS, and FTP hyperlinks to the ISO, copy one to the clipboard and hearth up your favourite terminal. Sort the next command:

Hit Enter and aria2 will begin downloading the file.

Within the photograph under, you’ll be able to see aria2 downloading the file from an HTTPS supply.

How to download any file from different protocols to Aria2

If the method is interrupted, you’ll be able to resume your file obtain through the use of the identical command. What’s even higher is that you would be able to resume the obtain even from different sources so long as the file stays equivalent.

Within the following picture we interrupted our HTTPS obtain and swapped the supply for an FTP one. Aria2 resumed from the place it had been stopped.

How to download any file from different protocols to Aria2

Do you bear in mind the web page with the BitTorrent hyperlinks we instructed you allow open in your browser? Return to that and click on on the “Ubuntu 20.04 Desktop (64-Bit)” hyperlink to obtain a torrent file. For ease of use, reserve it to the identical listing the place you’re test-downloading the Ubuntu ISO.

Let’s say you will have the torrent file for the Ubuntu ISO. To make use of the torrent file because the enter, use its filename as an alternative of a URL after aria2c, much like the next:

How to download any file from different protocols to Aria2

As earlier than, and though we had been utilizing a distinct switch protocol, aria2 resumed the obtain.

How to download any file from different protocols to Aria2

Switches Price Utilizing

Aria2 comes with some helpful switches that mean you can optimize the obtain course of:

  • -c: Don’t re-download file if it already exists.
  • -i: Use a TXT file with an inventory of URLs because the supply – helpful for downloading a number of recordsdata in a single go.
  • -j: Adopted by a quantity, and used together with an choice just like the earlier one, it defines what number of recordsdata aria 2 can obtain in parallel. If, for instance, you utilize an enter file containing 20 URLs with the above change and use -j 3, aria 2 will begin downloading three of these recordsdata in parallel. When one in all them completes, it would transfer to the following one on the listing.
  • -o: Permits you to outline an output title for the downloaded file. Helpful to, for instance, flip again “21820198465.mp4” to “our_vacation_video.mp4,” with out having to rename the file manually after the obtain completes.
  • -x: Variety of parallel connections for every obtain. To not be confused with the -j change, this splits a file in a number of chunks and downloads them by way of parallel connections to maximise the obtain pace. It’s value noting, although, that many file hosts put limits on the connections allowed since they drain their assets. Typical internet servers normally enable as much as eight connections in parallel, however you might discover that some file servers prohibit you even all the way down to a single connection.

No GUI?

In case you are on the lookout for a consumer interface for this command line instrument, it’s best to take a look at Persepolis, which is a GUI for Aria2

You need to use these switches collectively and even combine totally different sources (like HTTP & BitTorrent) in a single file_list.txt you utilize as an enter.

What’s your favourite technique to obtain recordsdata from the Web? If as an alternative you wish to save a file to a number of folders, here’s a trick for you to take action.

Associated:

Is this text helpful?
Sure
No

aria2c download,aria2 tutorial,aria2 webui,aria2c multiple connections,aria2c examples,aria2 github,how to use aria2,aria2 download manager

Share:

administrator