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
What worked for me step by step with lftp:
openssl s_client -connect :21 -starttls ftp
, at the begining of result I got something like -----BEGIN CERTIFICATE-----
MIIEQzCCAyu.....XjMO
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIEQzCCAyu.....XjMO
-----END CERTIFICATE-----
into /etc/ssl/certs/ca-certificates.crt
/etc/lftp.conf
for systemwide set ssl:ca-file "/etc/ssl/certs/ca-certificates.crt"
lftp
, on my case it is lftp -u "${FTP_USER},${FTP_PWD}" ${FTP_HOST} -e "set net:timeout 10;mirror ${EXCLUDES} -R ${LOCAL_SOURCE_PATH} ${REMOTE_DEST_PATH} ; quit"