TScFTPClient connection error

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
mitra
Posts: 1
Joined: Mon 06 Dec 2021 11:44

TScFTPClient connection error

Post by mitra » Mon 06 Dec 2021 12:00

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;

YanishevskiyVI
Devart Team
Posts: 70
Joined: Wed 02 Jun 2021 09:30

Re: TScFTPClient connection error

Post by YanishevskiyVI » Tue 07 Dec 2021 08:06

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!

Post Reply