This project is read-only.

Getting PROT P required exception

Oct 10, 2011 at 1:56 PM
Edited Oct 11, 2011 at 10: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("", 990, credentials, AlexPilotti.FTPS.Client.ESSLSupportMode.Implicit, ServicePointManager.ServerCertificateValidationCallback,                    certificate, 0, 0, 0, 30000, true);

Thank you!