Getting PROT P required exception

Oct 10, 2011 at 12:56 PM
Edited Oct 11, 2011 at 9:36 AM

I need to make a FTPS Implicit connection over 990 Port to upload and download files. Using the Alex's FTPS class library in c# code, I am able to open a connection but when I try to upload the files, I am getting a PROT P required exception. Ideas on how to handle the issue will be greatly appreciated.

Here is the code I use to make the connection -

ftp.Connect("xxx.xxx.xxx.xxx", 990, credentials, AlexPilotti.FTPS.Client.ESSLSupportMode.Implicit, ServicePointManager.ServerCertificateValidationCallback,                    certificate, 0, 0, 0, 30000, true);

Thank you!