Andrew Pennebaker
https://github.com/mcandre/cheatsheets/blob/master/lftp.md
lftp is a command line FTP file transfer client.
$ apt-get install lftp
$ brew install lftp
C:\> chocolatey install lftp
$HOME/.lftprc
See lftp-completion
- FTP
- SFTP
- FTPS
- FTPES
- FISH
- HFTP
- HTTP
- HTTPS
$ lftp [-u <username>,<password>] <URL>
> bookmark add <name>
$ lftp <name>
> quit
Or
Control+D
> lcd <local directory>
> lpwd
> cd
> ls
cache flush
> get <file>
> pget <file>
> put <file>
> mirror <remote directory>
> mirror -R <local path> <remote path>
> mkdir
> mv <current filename> <new filename>
> rm [-r] [-f] <file or directory>
> rmdir <directory>
- wget specializes in webcrawling.
- curl outputs to STDOUT by default, making it a popular choice for debugging REST services.
- scp specializes in SSH file transfers.
- WWW::Mechanize is a Perl library for fine-tuned Web crawling.
- Rsync