Page 1 of 1

TScFTPClient connection error

Posted: Mon 06 Dec 2021 12:00
by mitra
Hi,
I'm triying to connect to CompleteFTP server with TScFTPClient component and getting socket error 10054.
When I look at server it logs following message.

Must be logged in to execute command SYST.

What can be wrong?

My code is:

FFTPClient.Connect;
FFTPClient.Login;

Re: TScFTPClient connection error

Posted: Tue 07 Dec 2021 08:06
by YanishevskiyVI
Hi there!

Thanks for your request!

Please note that this error appears if TScFTPClient.TLSMode = tmDisableTLS (default value), whereas the server requires TLS protocol.

Code: Select all

https://www.devart.com/sbridge/docs/index.html?tscftpclient_tlsmode.htm


Please try to change this field to tmImplicitTLS, tmRequireExplicitTLS or tmAllowExplicitTLS and let us know if there are any questions!