This project is read-only.

connect via c# help

Dec 4, 2011 at 1:17 PM
Was hoping someone could help me connect.
I used ftps to connect successfully using the following:
ftps -h serverip -U username -P password -port 990 -ssl Implicit -l
I was hoping someone could help me translate that to C# and to automatically accept invalid server certificate.
I tried the following with this error - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
ftpsClient.Connect(ftpshost, ftpsport, ftpsCred, AlexPilotti.FTPS.Client.ESSLSupportMode.All, new RemoteCertificateValidationCallback(ValidateServerCertificate), new X509Certificate(), 0, 0, 0, 60000);
Dec 4, 2011 at 1:49 PM

Never mind,

I got it sorted by changing AlexPilotti.FTPS.Client.ESSLSupportMode.All to AlexPilotti.FTPS.Client.ESSLSupportMode.Implicit  :)