For anyone else wondering how to recursively download with this:
lftp cdn-fastly.deb.debian.org:/debian> mirror doc
Total: 2 directories, 43 files, 0 symlinks
New: 43 files, 0 symlinks
1031755 bytes transferred in 1 second (678.7 KiB/s)
lftp cdn-fastly.deb.debian.org:/debian>
Warning, -R means reverse (upload!), not recursive. ;)Wow, I had no idea lftp had that feature. That's super cool.
Re:Shutting down public FTP services
by justinsaccount on Wednesday April 26, 2017 @09:18AM
(#14202674)
lftp has a ton of features. background jobs, tab completion, caching of directory contents, multiple connections, parallel fetching of a SINGLE file using multiple connections.
Yes, it looks like '/usr/bin/ftp' from 1970, but it's far far far more advanced than that.
Not quite, ftp CLIENTS have mget. The ftp protocol has absolutely no awareness of mget. In fact, ftp is terrible at downloading more than one file at a time because it has no concept of pipelining and keepalive, both things that http supports.
With a nice multi protocol client like lftp, http directory indexes work just like an ftp server: