문제

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

도움이 되었습니까?

해결책

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/

다른 팁

sudo apt-get install axel
axel -n 5 url

Would do the work!

Axel is a lightweight program that helps with the downloads and supports multiple connections.

Want to resume download after a disconnection? No problem, just repeat the command and axel will take care of it.

Axel supports visual indicator. axel -a -n [X parts] [URL]

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top