FTPES - how to? - WeOnlyDo Discussion board

FTPES - how to? (wodFtpDLX / wodFtpDLX.NET)

by Alun, Friday, June 04, 2010, 12:34 (5075 days ago)

Hi guys,

I'm hoping that somebody could help with an issue we're having - we've been using the WOD FTP client for FTP and SFTP for a while now with great results, but now we need to expand our system to support FTPES. I can't see the FTPES protocol supported explicitly, but is there a way to make the client work with this protocol?

Many thanks
Alun

Re: FTPES - how to?

by woddrazen, Friday, June 04, 2010, 12:49 (5075 days ago) @ Alun

Hi Anul,


Did you try to use Protocol Property? You can select inside Protocol Property: FTPS(FTP+SSL) explicit and implicit protocol.

This is all you need to do.

Let us know how it goes.


Regards,
Drazen

Re: FTPES - how to?

by Alun, Friday, June 04, 2010, 12:58 (5075 days ago) @ woddrazen

Thanks for your prompt reply.

I'm not sure I quite understand what you're suggesting. The protocols I have available to me are FTP, FTPS, SFTP, FTPSimplicit and FTPSwithdata - which of these should I be using?

Re: FTPES - how to?

by woddrazen, Friday, June 04, 2010, 13:08 (5075 days ago) @ Alun

Alun,


For FTPES (FTP+SSL - explicit) protocol you should use FTPSwithdata value in Protocol Property.

Let us know how it goes.


Drazen

Re: FTPES - how to?

by Alun, Friday, June 04, 2010, 13:14 (5075 days ago) @ woddrazen

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?

Re: FTPES - how to?

by woddrazen, Friday, June 04, 2010, 13:34 (5075 days ago) @ Alun

Alun,


Certificate is accepted automatically in wodftpDLX.NET

Can you maybe show us log from FileZilla successful upload?

Also can you please show us direct value you use in PutFile Method line?


Drazen

Re: FTPES - how to?

by Alun, Friday, June 04, 2010, 13:39 (5075 days ago) @ woddrazen

No problem, but I'm a bit reluctant to post this information on a public forum - do you have an email address that I can contact you on directly?

Re: FTPES - how to?

by woddrazen, Friday, June 04, 2010, 13:41 (5075 days ago) @ Alun

Alun,


You can send you private data to techsupport@weonlydo.com

We can then continue conversation there.


Drazen