Hi, I cannot try plain ftp with that server, therefore I tried it with another server and it worked fine:
--- debug -o /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10062.RES 10 open -u "user","pass" ftp://www.serveriuse.com cd /home/user/test ls > /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10062.LST bye --- Result of that is this: --- ---- Resolving host address... ---- 1 address found dns cache hit [10122] www.serveriuse.com ---- Connecting to www.serveriuse.com (XXX.XXX.XX.X) port 21 [10122] www.serveriuse.com <--- 220 ftp://www.serveriuse.com FTP server ready [10122] www.serveriuse.com ---> AUTH TLS [10122] www.serveriuse.com <--- 500 AUTH not understood. [10122] www.serveriuse.com ---> USER user [10122] www.serveriuse.com <--- 331 Password required for user. [10122] www.serveriuse.com ---> PASS pass [10122] www.serveriuse.com <--- 230 User user logged in. [10122] www.serveriuse.com ---> PWD [10122] www.serveriuse.com <--- 257 "/home/user" is current directory. [10122] www.serveriuse.com ---> CWD /home/user/test [10122] www.serveriuse.com <--- 250 CWD command successful. [10122] www.serveriuse.com ---> PASV [10122] www.serveriuse.com <--- 227 Entering Passive Mode (XXX,XXX,XX,X,200,37). [10122] www.serveriuse.com ---- Connecting data socket to (XXX.XXX.XX.X) port 51237 [10122] www.serveriuse.com ---> LIST [10122] www.serveriuse.com <--- 150 Opening ASCII mode data connection for file list [10122] www.serveriuse.com ---- Closing data socket [10122] www.serveriuse.com <--- 226 Transfer complete. copy: get hit eof copy: put confirmed store copy: get is finished - all done [10122] www.serveriuse.com ---> QUIT [10122] www.serveriuse.com ---- Closing control socket --- When trying with the server I am trying to connect to by ftps: --- debug -o /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10257.RES 10 open -u "user","pass" ftps://www.serveriuse.com cd . ls > /home/sftpgate/ftp-test/FTPS_IN3_AutoSingleRetrieval.10257.LST bye --- Result: --- ---- Resolving host address... ---- 1 address found dns cache hit [10317] www.serveriuse.com ---- Connecting to www.serveriuse.com (XX.XXX.XXX.XXX) port 990 [10317] www.serveriuse.com ---- Closing control socket dns cache hit [10317] www.serveriuse.com ---- Connecting to www.serveriuse.com (XX.XXX.XXX.XXX) port 990 [10317] www.serveriuse.com ---- Closing control socket --- The script invoking lftp was invoked like this: script & >OUT 2>ERR. When invoking lftp itself the same way the result is the same, also when getting everything invoked by cron. The content of the ERR file after some time is this: --- cd: Fatal error: SSL connect: unknown protocol ls: Fatal error: SSL connect: unknown protocol --- Thanks and regards, Hanno -----Original Message----- From: Alexander V. Lukyanov [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 28. Mai 2003 12:13 To: BORNS,HANNO (HP-Germany,ex1) Cc: '[EMAIL PROTECTED]' Subject: Re: Fatal error: SSL connect: error:140770FC:SSL routines:SSL23_GET_S ERVER_HELLO:unknown protocol On Wed, May 21, 2003 at 05:11:21PM +0200, BORNS,HANNO (HP-Germany,ex1) wrote: > open -u "user","pass" ftps://www.servericonnectto.com > > After some time and one retry of lftp I get this message on my screen: > > --- lftp 2.5.2 > Fatal error: SSL connect: error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol What happens if you skip ftps url scheme and specify plain ftp? > When executing the command "lftp -f <cmdfile>" everything works > completely smooth. This is quite strange. What is the debug output in that case? -- Alexander.
