Multiple simultaneous downloads using Wget?
Solution 1:
use the aria2 :
aria2c -x 16 [url]
# |
# |
# |
# ----> the number of connections
http://aria2.sourceforge.net
I love it !!
Solution 2:
Wget does not support multiple socket connections in order to speed up download of files.
I think we can do a bit better than gmarian answer.
The correct way is to use aria2
.
aria2c -x 16 -s 16 [url]
# | |
# | |
# | |
# ---------> the number of connections here
Official documentation:
-x, --max-connection-per-server=NUM
: The maximum number of connections to one server for each download. Possible Values:1-16
Default:1
-s, --split=N
: Download a file using N connections. If more than N URIs are given, first N URIs are used and remaining URLs are used for backup. If less than N URIs are given, those URLs are used more than once so that N connections total are made simultaneously. The number of connections to the same host is restricted by the--max-connection-per-server
option. See also the--min-split-size
option. Possible Values:1-*
Default:5