I am using Fluent FTP. The documentation says that you set the connection timeout with .ConnectTimeout
, but the C# compiler says this is not a member of FTPClient
.
How do I set the timeout?
FTPClient.ConnectTimeout
was used in older versions.
Currently, there's FtpConfig.ConnectTimeout
. And the FtpConfig
goes to the FtpClient
constructor.