I\'m trying to log into an ftps
site. I\'ve tried giving the login creds at the command line (and putting set
parameters in ~/.lftprc
, the
Setting ftp:ssl-allow true
didn't work for me.
By typing set
:
lftp :~> set
I noticed this:
set ftp:ssl-allow true
set ftp:ssl-allow/XXX.XXX.XXX.XXX no
with XXX.XXX.XXX.XXX being the server, I was logging into.
So the final set of commands I needed was:
lftp :~> set ftp:ssl-allow true
lftp :~> set ftp:ssl-allow/XXX.XXX.XXX.XXX true
lftp :~> set ssl:verify-certificate no