Hi timvw,
Ops, yes that would have been a good thing to include
)
The certificate error is "Self Signed Certificate". I'm just trying to use FTP over SSL to protect my FTP login ID and Password.
I'm using FtpWebRequest
I kept looking, and as you said... ServicePointManager, I did find this code on the web... and it does seem to work.
Is this the best way to go about it?
----------------------------------------------------------------------------------------------------------------------------
ServicePointManager
.ServerCertificateValidationCallback = AcceptAllCertificatePolicy;
//Code to Accept All Certificates
public static bool AcceptAllCertificatePolicy(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
return true;
}
Thanks,
Ron