TODO - add my notes
I use this to synchronize files over SFTP, which is not the same as FTP.
2016-04-10 - 4.4.9 on Slackware 14.1
- Libraries used: Readline 5.2, Expat 2.1.0, OpenSSL 1.0.1s 1 Mar 2016, zlib 1.2.8
2016-03-26 - 4.4.13 on Lubuntu 14.04.4 LTS
- Libraries used: Readline 6.3, GnuTLS 2.12.23, zlib 1.2.8
LFTP for BitTorrent ∞
First explored on 2013-06-23 with BitTorrent with the Raspberry Pi
- No encryption support.
- No ability to select individual files to download.
- No ability to set individual file priority.
Cannot specify/modify a list of trackers. I assume it gets something from a .torrent file, if given one.
.torrentfiles and trackers are technically obsolete, but they still have some value.
I didn't even research multiple torrents. It's a safe bet that there's no prioritization between them. Multiple lftp torrent processes fighting it out does not sound like a good idea.
Nothing is organized here. There are scripts scattered throughout https://github.com/spiralofhope/shell-random/tree/master.
You would be better off getting the whole repository, then using its
\lftp (with that backslash).
"Host key verification failed" ∞
When you do:
.. if you get:
Password: cd: Fatal error: Host key verification failed
.. some combination of the following should work.
First, double and triple-check the settings on your web host.
- Check the username.
- Check that FTP is enabled for that user.
- Check that FTP is enabled for that website.
Re-try after you simplify your command.
Step one, SSH in:
It'll talk to you a bunch.. say yes until it asks you for the website's ftp password. At that point, just
\touch ~/.ssh/known_hosts \ssh-keygen -R example.com
"Fatal error: Certificate verification: certificate common name doesn't match requested host name" ∞
~/.config/lftp/rc and add:
set ssl:check-hostname no
I don't know the consequences of this.