Re: FTPES - how to? (General questions)
Ok, to go into a bit more detail, this is the code I'm using:
FtpDLX Ftp = new FtpDLX();
Ftp.Hostname = Host;
Ftp.Protocol = Protocols.FTPSwithdata;
Ftp.Login = Username;
Ftp.Authentication = Authentications.Password;
Ftp.Password = Password;
Ftp.Port = Port;
Ftp.Blocking = true;
Ftp.ProgressEvent += new FtpDLX.ProgressDelegate(Ftp_ProgressEvent);
Ftp.DoneEvent += new FtpDLX.DoneDelegate(Ftp_DoneEvent);
Ftp.TransferMode = TransferModes.Binary;
Ftp.Connect();
Ftp.PutFile(f_UploadFilename, RemotePath);
It gets to the 'PutFile' command but after a while it triggers the FFtp_DonEvent handler, with the FtpDoneArgs Description reading 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 xx.x.x.xxx:xxxx .
When I connect to the same server using Filezilla I need to explicitly accept a certificate once the connection has been made - is it possible I need to do something similar in this case?
Complete thread:
- FTPES - how to? - Alun, 2010-06-04, 12:34
- Re: FTPES - how to? - woddrazen, 2010-06-04, 12:49
- Re: FTPES - how to? - Alun, 2010-06-04, 12:58
- Re: FTPES - how to? - woddrazen, 2010-06-04, 13:08
- Re: FTPES - how to? - Alun, 2010-06-04, 13:14
- Re: FTPES - how to? - woddrazen, 2010-06-04, 13:34
- Re: FTPES - how to? - Alun, 2010-06-04, 13:39
- Re: FTPES - how to? - woddrazen, 2010-06-04, 13:41
- Re: FTPES - how to? - Alun, 2010-06-04, 13:39
- Re: FTPES - how to? - woddrazen, 2010-06-04, 13:34
- Re: FTPES - how to? - Alun, 2010-06-04, 13:14
- Re: FTPES - how to? - woddrazen, 2010-06-04, 13:08
- Re: FTPES - how to? - Alun, 2010-06-04, 12:58
- Re: FTPES - how to? - woddrazen, 2010-06-04, 12:49