Re: SSL read: wrong version number

"Alexander V. Lukyanov" <[email protected]>
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
On Wed, Jan 19, 2005 at 07:12:18PM +0100, Stephan Windm?ller wrote:
> ---> PROT C
> <--- 200 PROT now Clear.
...
> <--- 150 Opening BINARY mode data connection for FILE (490 bytes).
> <--- 226 File send OK.
> **** SSL read: wrong version number

It looks like lftp tries to use SSL for Clear mode data connection. I don't
see how this can be possible from the logic in ftpclass.cc.

SSL is only used when conn->prot=='P', and conn->prot should be set to 'C'
when lftp gets `200 PROT now Clear' for `PROT C' command.

Also I cannot reproduce it here.

-- 
   Alexander.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.