How do I get lftp to use SSL/TLS security mechanism from the command line?

后端 未结 8 2511
深忆病人
深忆病人 2021-02-15 13:11

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

8条回答
  •  萌比男神i
    2021-02-15 13:52

    This worked for me for a FTPS server connection (with port 990, but not necessary to specify) using lftp

    code: lftp ftps://USER:PASSWORD@server.com -c "set ssl:verify-certificate false;"

    then: do stuff

    more info at: how-to-avoid-lftp-certificate-verification-error

提交回复
热议问题