Re: [twsocket] TsslFtpClient
My ftps server don't use Certificate validation. Could it be an explanation ? René Puyhaubert 2009/11/3 René Puyhaubert rene.puyhaub...@gmail.com Hello Arno, Thank you for your explanations. But all combinations of protocols and ports doesn't work with this ftps server. What do you means with all in one methods in : this type requires the AUTH command being issued, if you do not use the all in one methods. Is it one parameter of TSslFtpClient ? I have tried another component (Chilkat Ftp), and I have the same result as with Ics component. I can only connect this ftp with FileZilla, when I set the port to 990 and the protocol to FTPES : Ftp over explicit TSL/SSL. Thank you for your help ! René Puyhaubert 2009/11/3 Arno Garrels arno.garr...@gmx.de Hello René, At first, TSslFtpClient supports all possible SSL/TLS protocols. I guess you are just mixing them up as I mix them up all the time, so welcome in the club! FTPES : Ftp over explicit TSL/SSL; port 990 You probably mean _implicit_ TLS/SSL; port 990. In the demo select SSL Type sslTypeImplicit, and SSL Port 990. With implicit TLS/SSL the control connection is initially established as a secure SSL connection, hence command Auth will fail, this command is only required with explicit SSL. Select SSL Type sslTypeAuthTls or sslTypeAuthSsl for an explicit TLS/SSL connection, this type requires the AUTH command being issued, if you do not use the all in one methods. Note that only sslTypeAuthTls is a RFC FTP SSL extension, sslTypeAuthSsl is there for compatibility with some old servers only. With explicit SSL/TLS (sslTypeAuthTls or sslTypeAuthSsl) the control connection starts non-secured and can be switched into a secure connection by issuing the Auth command. -- Arno Garrels René Puyhaubert wrote: Hi, I want to connect to a secure ftp, with Ics component : TsslFtpClient I have tested this connexion with demo program : OverbyteIcsFtpTst1 With any protocol ssl used, I have a connexion error at the Connect command. For example, with SsltypeAuthSsl, error is : AUTH SSL 534 AUTH command is disabled. Request 5 Done. StatusCode = 534 LastResponse was : '534 AUTH command is disabled.' Error = 534 (534 AUTH command is disabled.) Command Failure I can connect with FileZilla with parameters : FTPES : Ftp over explicit TSL/SSL; port 990 I have not this protocol with Ics. Is it possible to connect to this ftp server with Ics component : TSslFtpClient ? Thank you for your help ... René Puyhaubert -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TsslFtpClient
Hello René, At first, TSslFtpClient supports all possible SSL/TLS protocols. I guess you are just mixing them up as I mix them up all the time, so welcome in the club! FTPES : Ftp over explicit TSL/SSL; port 990 You probably mean _implicit_ TLS/SSL; port 990. In the demo select SSL Type sslTypeImplicit, and SSL Port 990. With implicit TLS/SSL the control connection is initially established as a secure SSL connection, hence command Auth will fail, this command is only required with explicit SSL. Select SSL Type sslTypeAuthTls or sslTypeAuthSsl for an explicit TLS/SSL connection, this type requires the AUTH command being issued, if you do not use the all in one methods. Note that only sslTypeAuthTls is a RFC FTP SSL extension, sslTypeAuthSsl is there for compatibility with some old servers only. With explicit SSL/TLS (sslTypeAuthTls or sslTypeAuthSsl) the control connection starts non-secured and can be switched into a secure connection by issuing the Auth command. -- Arno Garrels René Puyhaubert wrote: Hi, I want to connect to a secure ftp, with Ics component : TsslFtpClient I have tested this connexion with demo program : OverbyteIcsFtpTst1 With any protocol ssl used, I have a connexion error at the Connect command. For example, with SsltypeAuthSsl, error is : AUTH SSL 534 AUTH command is disabled. Request 5 Done. StatusCode = 534 LastResponse was : '534 AUTH command is disabled.' Error = 534 (534 AUTH command is disabled.) Command Failure I can connect with FileZilla with parameters : FTPES : Ftp over explicit TSL/SSL; port 990 I have not this protocol with Ics. Is it possible to connect to this ftp server with Ics component : TSslFtpClient ? Thank you for your help ... René Puyhaubert -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TsslFtpClient
Hello Arno, Thank you for your explanations. But all combinations of protocols and ports doesn't work with this ftps server. What do you means with all in one methods in : this type requires the AUTH command being issued, if you do not use the all in one methods. Is it one parameter of TSslFtpClient ? I have tried another component (Chilkat Ftp), and I have the same result as with Ics component. I can only connect this ftp with FileZilla, when I set the port to 990 and the protocol to FTPES : Ftp over explicit TSL/SSL. Thank you for your help ! René Puyhaubert 2009/11/3 Arno Garrels arno.garr...@gmx.de Hello René, At first, TSslFtpClient supports all possible SSL/TLS protocols. I guess you are just mixing them up as I mix them up all the time, so welcome in the club! FTPES : Ftp over explicit TSL/SSL; port 990 You probably mean _implicit_ TLS/SSL; port 990. In the demo select SSL Type sslTypeImplicit, and SSL Port 990. With implicit TLS/SSL the control connection is initially established as a secure SSL connection, hence command Auth will fail, this command is only required with explicit SSL. Select SSL Type sslTypeAuthTls or sslTypeAuthSsl for an explicit TLS/SSL connection, this type requires the AUTH command being issued, if you do not use the all in one methods. Note that only sslTypeAuthTls is a RFC FTP SSL extension, sslTypeAuthSsl is there for compatibility with some old servers only. With explicit SSL/TLS (sslTypeAuthTls or sslTypeAuthSsl) the control connection starts non-secured and can be switched into a secure connection by issuing the Auth command. -- Arno Garrels René Puyhaubert wrote: Hi, I want to connect to a secure ftp, with Ics component : TsslFtpClient I have tested this connexion with demo program : OverbyteIcsFtpTst1 With any protocol ssl used, I have a connexion error at the Connect command. For example, with SsltypeAuthSsl, error is : AUTH SSL 534 AUTH command is disabled. Request 5 Done. StatusCode = 534 LastResponse was : '534 AUTH command is disabled.' Error = 534 (534 AUTH command is disabled.) Command Failure I can connect with FileZilla with parameters : FTPES : Ftp over explicit TSL/SSL; port 990 I have not this protocol with Ics. Is it possible to connect to this ftp server with Ics component : TSslFtpClient ? Thank you for your help ... René Puyhaubert -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TsslFtpClient
René Puyhaubert wrote: What do you means with all in one methods in : this type requires the AUTH command being issued, if you do not use the all in one methods. Is it one parameter of TSslFtpClient ? T(Ssl)FtpClient has special methods which combine multiple single FTP requests in one component method (search OverbyteIcsFtpCli.pas for HighLevel for details), for example method ConnectAsync internally calls ftpOpenAsync, ftpAuthAsync, ftpUserAsync, ftpPassAsync and ftpAccountAsync. So this includes the AUTH command _if required. My ftps server don't use Certificate validation. Could it be an explanation ? No, I do not think so. I can only connect this ftp with FileZilla, when I set the port to 990 and the protocol to FTPES : Ftp over explicit TSL/SSL. That sounds weird, port number 990 is the default port for implicit SSL. LastResponse was : '534 AUTH command is disabled.' So you got a connection, right? Which SSL Type did you select in the demo in this case? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] TsslFtpClient
Hi, I want to connect to a secure ftp, with Ics component : TsslFtpClient I have tested this connexion with demo program : OverbyteIcsFtpTst1 With any protocol ssl used, I have a connexion error at the Connect command. For example, with SsltypeAuthSsl, error is : AUTH SSL 534 AUTH command is disabled. Request 5 Done. StatusCode = 534 LastResponse was : '534 AUTH command is disabled.' Error = 534 (534 AUTH command is disabled.) Command Failure I can connect with FileZilla with parameters : FTPES : Ftp over explicit TSL/SSL; port 990 I have not this protocol with Ics. Is it possible to connect to this ftp server with Ics component : TSslFtpClient ? Thank you for your help ... René Puyhaubert -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be