The fastest, resumable file download client
Ad: I'm currently developing a new date and time library synchro for the modern era. please give it ⭐!!
Multi-Connection Download using parallel requests.
This is an example to download linux kernel. It will be finished between 15s.
This program comes with no warranty. You must use this program at your own risk.
$ brew install pget$ go install github.com/Code-Hex/pget/cmd/pget@latestThis example will be used 2 connections per URL.
$ pget -p 2 MIRROR1 MIRROR2 MIRROR3If you have created such as this file
cat list.txt
MIRROR1
MIRROR2
MIRROR3You can do this
cat list.txt | pget -p 2 Options:
-h, --help print usage and exit
-p, --procs the number of connections for a single URL (default 1)
-o, --output output file to
-t, --timeout timeout of checking request in seconds
-u, --user-agent identify as
-r, --referer identify as
--check-update check if there is update available
--trace display detail error messagesURL: https://mirror.internet.asn.au/pub/ubuntu/releases/21.10/ubuntu-21.10-desktop-amd64.iso
Using
time wget https://mirror.internet.asn.au/pub/ubuntu/releases/21.10/ubuntu-21.10-desktop-amd64.iso
time pget -p 6 https://mirror.internet.asn.au/pub/ubuntu/releases/21.10/ubuntu-21.10-desktop-amd64.isoResults
wget 3.92s user 23.52s system 3% cpu 13:35.24 total
pget -p 6 10.54s user 34.52s system 25% cpu 2:56.93 totalwget 13:35.24 total, pget -p 6 2:56.93 total (6x faster)
You can download from here
No open issues yet, or sync has not completed.