BASH
Configurare email
Configurare software
Hardware
Linux
Linux Mint
Pentru tonti
Securitate
VMWARE
Windows
linux :: lftp cannot list folder
CAMSCAPE SERVICES David G. |
Title | lftp cannot list folder |
Tags | lftp,ssl,certificate,list | |
Desc. | lftp cannot list folder altough it is connected | |
Code | KBLN0039 v1.0 | |
Date | 15 august 2018 |
After successful connection using lftp
lftp -u username,userpass target_ip
a simple command like ls is not working but hanging and wait for timeout. The reason can be a destination target self signed certificate or, more possible, a destination misconfiguration regardint ftp ssl. To avoid it, run it without ssl:
lftp -u username,userpass target_ip lftp> set ftp:ssl-allow no
or one liner:
lftp -u username,userpass target_ip -e "set ftp:ssl-allow no;"