Hello.
I have problem with lftp 3.0.11.
I connect to ftp server via SSL (Secure FTP on 990 port).
set ftp:ssl-protect-list no
set ftp:ssl-protect-data no
set ftp:ssl-protect-fxp no
and request file list (ls)
I get:
---> PBSZ 0
<--- 500 'PBSZ 0': command not understood.
---> PROT C
<--- 500 'PROT C': command not understood.
---> PASV
<--- 227 Entering Passive Mode (212,85,124,21,239,128)
---- Connecting data socket to (212.85.124.21) port 61312
---> LIST
---- SSL active: 1, SSL prot P        (this line described later)
<--- 150 Opening ASCII mode data connection for '/bin/ls'.
**** SSL connect: wrong version number
---> ABOR

"SSL active:" line is produced by following source code lines:
src/ftpclass.cc:2127
sprintf(str, "SSL active: %d, SSL prot %c", 
        conn->ssl_is_activated(), conn->prot);
DebugPrint("---- ",str,5);

tcpdumping connection with ftp server show that date channel isn't ssl
protected.
Maybe adding option to ignore PROT command errors solve this problem ?

Regards
--
Artur Frysiak
http://www.pld-linux.org/

Reply via email to