This project is read-only.

Value cannot be null. Parameter name: input

Sep 20, 2011 at 8:03 PM

Hi Alex,


I am trying to connect a ftp with ssl having a port number other than 990 or 21.

I used following method but it gives me this error.

Value cannot be null.Parameter name: input

 Dim myftpDirect As AlexPilotti.FTPS.Client.FTPSClient = New AlexPilotti.FTPS.Client.FTPSClient
        Dim ergs As String = myftpDirect.Connect("URL", 55593, New System.Net.NetworkCredential("USER", "PASSWORD"), ESSLSupportMode.All, New RemoteCertificateValidationCallback(AddressOf validateCert), New X509Certificate(), 0, 0, 0, System.Threading.Timeout.Infinite)     

Can you please help me.