I have added SslMode.Explicit and the Connect method is just stuck and not completing the execution of the Connect method. It took around 5 minutes of time and throws an error "The operation was not completed within the specified time limit.".
Below is the stack trace of the error.
at xcyi.sfok(TlsParameters acu)
at Rebex.Net.Ftp.pcam(TlsParameters fj, FtpSecureUpgradeType fk)
at Rebex.Net.Ftp.pcad(String fa, Int32 fb, TlsParameters fc, SslMode fd, FtpSecureUpgradeType fe)
at Rebex.Net.Ftp.Connect(String serverName, Int32 serverPort, SslMode security)
Please help me to fix this issue. Thank you.