Skip to content

Instantly share code, notes, and snippets.

@nwgat
Created June 2, 2015 15:17
Show Gist options
  • Save nwgat/896983db8263df4c5f20 to your computer and use it in GitHub Desktop.
Save nwgat/896983db8263df4c5f20 to your computer and use it in GitHub Desktop.
17:15 +justaguy why lftp
case in point
$ wget http://ipv4.speedtest-ams3.digitalocean.com/100mb.test
--2015-06-02 14:35:45-- http://ipv4.speedtest-ams3.digitalocean.com/100mb.test
Resolving ipv4.speedtest-ams3.digitalocean.com (ipv4.speedtest-ams3.digitalocean.com)... 178.62.255.144
Connecting to ipv4.speedtest-ams3.digitalocean.com (ipv4.speedtest-ams3.digitalocean.com)|178.62.255.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: ‘100mb.test.2’
100mb.test.2 100%[======================================================>] 100.00M 1.55MB/s in 64s
2015-06-02 14:36:50 (1.55 MB/s) - ‘100mb.test.2’ saved [104857600/104857600]
when using lftp it transforms into
$ lftp -e 'pget http://ipv4.speedtest-ams3.digitalocean.com/100mb.test && exit'
104857600 bytes transferred in 14 seconds (6.93 MiB/s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment