Parameters
- authenticationMethod
- The authentication method used to connect to the FTP server.
- verificationFlags
- The verification flags used to verify the FTP server's certificate.
- clientCertificate
- The FTP client's certificate.
The Connect method that requires an authentication method, verification flags and a client certificate can be used in the case where the FTP server does not allow authentication after the connection has been established.
If the FTP server requires a certificate or the one provided was rejected, the CertificateRequired will be raised. When the FTP server's certificate is received and verified, the CertificateReceived event will be raised.
The Authenticate method will send the AUTH and PROT commands to the FTP server.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2