Unix & Linux: How do I use implicit FTP over TLS? (3 Solutions!!)
Channel: Roel Van de Paar
Date: 2020-08-17

Unix & Linux: How do I use implicit FTP over TLS?


The Question: Using any FTP client (I'm on Ubuntu 12.04 and tried using lftp), I want to be
able to make an implicit TLS connection to a FTP server, but I can't quite
manage to successfully connect. All I am getting is: 'ls' at 0 [Delaying before
reconnect 29]

Solutions: Please watch the whole video to see all solutions, in order of how many people found them helpful

== This solution helped 29 people ==
Give this a try:
$ lftp
lftp :~＞ set ftp:ssl-force true
lftp :~＞ connect ftp.domain.tld
lftp ftp.domain.tld:~＞ login ＜username＞
NOTE: If the server is making use of self signed certificates you may need to
add this set as well:
lftp :~＞ set ssl:verify-certificate no

In case the link that @summea refers to above disappears, the pertinent info
that solved this issue for me was this option:
set ftp:ssl-auth TLS

With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user slm (https://unix.stackexchange.com/users/7453), user Greg Dubicki (https://unix.stackexchange.com/users/53245), user dominicbri7 (https://unix.stackexchange.com/users/36677), user Chris Paul (https://unix.stackexchange.com/users/297838), and the Stack Exchange Network (http://unix.stackexchange.com/questions/71525). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.