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;
TScFTPClient connection error
-
- Devart Team
- Posts: 70
- Joined: Wed 02 Jun 2021 09:30
Re: TScFTPClient connection error
Hi there!
Thanks for your request!
Please note that this error appears if TScFTPClient.TLSMode = tmDisableTLS (default value), whereas the server requires TLS protocol.
Please try to change this field to tmImplicitTLS, tmRequireExplicitTLS or tmAllowExplicitTLS and let us know if there are any questions!
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!