I started having a problem using my FTP code within my customized code. Vortex changed to an implicit FTPS connection. I am using FluentFTP and the using the following connection call - I got around the issue.
The main issue was using port 21.
Thanks
Abbott
public static void SetFTPInfo(string serverip, string userid, string password) { int ftpPort = 21; ftpServerIP = serverip; ftpUserID = userid; ftpPassword = password; // From FluentPTP examples ftpClient = new FtpClient(serverip, ftpPort, ftpUserID, ftpPassword); ftpClient.EncryptionMode = FtpEncryptionMode.Explicit; ftpClient.ValidateAnyCertificate = true; ftpClient.SslProtocols = SslProtocols.Tls12; ftpClient.DataConnectionType = FtpDataConnectionType.EPSV; //PASV; ftpClient.Connect(); }
Abbott Fleur
I started having a problem using my FTP code within my customized code. Vortex changed to an implicit FTPS connection. I am using FluentFTP and the using the following connection call - I got around the issue.
The main issue was using port 21.
Thanks
Abbott