Hi Okash,
"EXPLICIT SSL" occurs when the connection is e
stablished in clear text and a special FTP command is sent to the Secure FTP server to change the connection into an SSL/TLS connection. In order to achieve an "Explicit SSL Connection", you must call the Connect() method without SSL parameters, and then call the Authenticate() method later on before calling the Login() method.
Code Sample: client.Connect( servername );
client.Authenticate(AuthenticationMethod.Ssl, VerificationFlags.None, null, DataChannelProtection.Private );
client.Login( username, password );
To work with a proxy, our FTP component requires the IP address of the public address to which the client will be connecting to be entered as the "proxyHost" in the code below and the IP address to which the host is relaying the connection should be the "ftpHost". This is the way our FTP component can establish a valid FTP-through-proxy connection.
Code Sample:
FtpClient client = new FtpClient();
HttpProxyClient proxy = new HttpProxyClient( "proxyHost", 8080, "user", "pass" );
client.Proxy = proxy;
client.Connect( "ftpHost" );
Regards,
Alain Jreij,
Xceed Technical Support
Regards,
Alain Jreij,
Web Developer,
Xceed Software Inc