7

I'm working on a Linux machine (relatively recent distribution). I want to download a file which is mirrored at two different (HTTP) servers. Now, the file is large and the download speed from each location is low.

How can I download the file from both URLs, so as to use the combined bandwidth?

I don't mind if this requires some command-line work (as I doubt existing GUI apps support this).

Note: The file is not available via BitTorrent; that would obviously be a preferable solution if I could use it.

einpoklum
  • 10,666

1 Answers1

10

Use aria2

man aria2c:

   -i, --input-file=<FILE>
          Downloads  the  URIs  listed  in  FILE. You can specify multiple
          sources for a single entity by putting multiple URIs on a single
          line  separated by the TAB character.  Additionally, options can
          be specified after each URI line. Option lines must  start  with
          one  or more white space characters (SPACE or TAB) and must only
          contain one option per line.  Input files can use gzip  compres‐
          sion.   When  FILE  is specified as -, aria2 will read the input
          from stdin.  See the Input File  subsection  for  details.   See
          also  the  --deferred-input option.  See also the --save-session
          option.
Ipor Sircer
  • 4,194