Hello, I thought I would do some testing with TSslFtpClient (version V8.09).
I downloaded and installed ProVide server (https://www.provideserver.com/free-trial/) on another computer, setup it up for normal FTP and it worked for getting a file Altered the settings to support FTPS Implicit SSL/TLS, set the TSslFtpClient.SslType to sslTypeImplicit, and getting the file worked. Altered the settings to support FTPS Explicit SSL/TLS, set the TSslFtpClient.SslType to sslTypeAuthTls, and getting the file worked. Altered the setting TSslFtpClient.SslType to sslTypeAuthSsl, and getting the file failed. Here is the log from ProVide: 2018-07-12 10:02:30 - (not logged in-94) (192.168.1.189) ! New user connected from 192.168.1.189. Using FTP protocol. Sending welcome message... 2018-07-12 10:02:30 - (not logged in-94) (192.168.1.189) > AUTH SSL 2018-07-12 10:02:30 - (not logged in-94) (192.168.1.189) < 234 AUTH Command OK. Initializing SSL 2018-07-12 10:02:31 - (not logged in-94) (192.168.1.189) ! Encrypted session established with cipher DHE-RSA-AES256-SHA 2018-07-12 10:02:31 - Admin (not logged in-94) (192.168.1.189) > USER Admin 2018-07-12 10:02:31 - Admin (not logged in-94) (192.168.1.189) < 331 User name received, need password. 2018-07-12 10:02:31 - Admin (not logged in-94) (192.168.1.189) > PASS ***** 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) ! Successfully logged in. 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) < 230 User logged in, proceed. 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) > TYPE I 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) < 200 Type set to I. 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) > PORT 192,168,1,189,218,215 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) < 200 PORT Command successful. 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) > RETR test1.txt 2018-07-12 10:02:31 - Admin-94 (192.168.1.189) < 150 File status okay; about to open data connection. 2018-07-12 10:02:33 - Admin-94 (192.168.1.189) < 426 Data connection closed abnormally. 2018-07-12 10:02:33 - Admin-94 (192.168.1.189) ! Disconnected (ftps). The next to the last line shows the connection closed abnormally. Is using type sslTypeAuthSsl not expected to work? When configuring the server for Explicit the log shows: 2018-07-12 10:04:37 - ! FTP Server active on 21 (Explicit SSL/TLS, certificate "ProVide" with 2048 bits accepting SSL v2, SSL v3, TLS v1, TLS v1.1, TLS v1.2) Is there an option in the TSslContext I need to set? Also, what is the ProtLevel C or P? (Complete, Partial?) Thanks, Mark P.S. I can post the icsLogger log but it was kind of long so did not. -- 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