Downloading a file with wget using multiple connections

Issue

How to download a file with wget using multiple connection in which each connection downloads a part of the file?

Solution

use aria2

 aria2c -x 16 [url] #where 16 is the number of connections

OR

Just repeat the wget -r -np -N [url] for as many threads as you need. This isn’t pretty and there are surely better ways to do this, but if you want something quick and dirty it should do the trick.

Please look at http://blog.netflowdevelopments.com/2011/01/24/multi-threaded-downloading-with-wget/

Answered By – Jayesh Bhoi

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published