Just FYI, let me show what smartftp says:
Resolving host name host...
Connecting to (host).
Connected to (host) -> IP: x.x.x.x PORT: 990.
Socket connected waiting for login sequence.
220 ftp server ready
AUTH SSL
234 AUTH SSL successful
Connected. Exchanging encryption keys...
SSL encrypted session established.
PBSZ 0
200 PBSZ 0 successful
USER user
331 Password required for user.
PASS (hidden)
230 user user logged in
SYST
215 UNIX Type: L8
FEAT
500 FEAT not understood.
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/home/user" is current directory.
TYPE A
200 Type set to A.
PROT P
200 Protection set to Private
PASV
227 Entering Passive Mode (x,x,x,x,193,1).
LIST -aL
Opening data connection IP: x.x.x.x PORT: 49409.
150 Opening ASCII mode data connection for file list
Connected. Exchanging encryption keys...
SSL encrypted session established.
39286 bytes received successfully. (19.18 KBps) (00:00:02).
226 Transfer complete.
On Thu, 27 Jun 2002 11:18:54 -0300 J�rn <[EMAIL PROTECTED]> wrote:
> Mr. Lukyanov:
>
> (sorry for my continuous messages, hope it's ok)
>
> For some reason I haven't been able to get lftp to work with ftps
> (ftp over ssl on port 990).
>
> I'm using openssl 0.9.6b, and have compiled lftp with that.
>
> It seems that I can connect successfully with some other ftp clients
> (including smartftp for windows).
>
> Here's what lftp says:
>
> lftp :~> version
> Lftp | Version 2.5.4 | Copyright (c) 1996-2002 Alexander V. Lukyanov
> This is free software with ABSOLUTELY NO WARRANTY. See COPYING for details.
> Send bug reports and questions to <[EMAIL PROTECTED]>.
> lftp :~> open ftps://user:pass@host
> ---- Resolving host address...
> ---- 1 address found
> lftp user@host:~> ls
> ---- Connecting to host (x.x.x.x) port 990
> ---- Closing control socket
> ls: Fatal error: SSL connect: error:140770FC:SSL
>routines:SSL23_GET_SERVER_HELLO:unknown protocol
> lftp user@host:~>
>
> I'm wondering if there's some kind of ssl version confusion happening
> there..?
> Are there some ~/.lftp/rc setup that have to be in place..?
> Is it some kind of implicit vs. explicit ssl issue?
>
> Otherwise, I'm entirely an lftp user now; thanks for the great software;
> please keep up the good work.
--
J � r n P o u l s e n <[EMAIL PROTECTED]>
Nova Scotia, Canada � Jylland, Danmark