Trying to connect to a server and seems to connect but

Aug 1, 2011 at 4:09 PM

Good afternoon. I am trying to connect to a server using ftps and it seems like it does connect but when I try to get a directory listing it seems to take forever and then it returns with a timeout error. I believe this server is explicit ftps since I can connect through a gui using explicit. Can you give a sample of how I could connect to an explicit ftps server? and maybe show how to use a certain port also? This is using the control in vs2010. I would very much appreciate it! I have tried downloading more recent versions but all of the links come back with 404s so they have not been helpful either. 

 

Currently, I connect with this string.....where Client=your control

Client.Connect(strFTPHost, New NetworkCredential(strUserNM, strUserPW), ESSLSupportMode.ControlAndDataChannelsRequired, New RemoteCertificateValidationCallback(AddressOf ValidateTestServerCertificate))
            

 

 

Thanks for your help, have a great day