FluentFTP - Getting error while connecting “Timed out trying to read data from the socket stream!”
问题 Getting Timed out trying to read data from the socket stream! when connecting to FTP using FluentFTP. Below is the source code which I am using to connect: Console.WriteLine("Configuring FTP to Connect to {0}", hostname); ftp = new FtpClient(hostname,port,new NetworkCredential(username,password)); ftp.ConnectTimeout = 600000; ftp.ReadTimeout = 60000; ftp.EncryptionMode = FtpEncryptionMode.Explicit; ftp.SslProtocols = System.Security.Authentication.SslProtocols.Tls; ftp.ValidateCertificate +=