SSH code sample (General questions)
Hi, I have been using SFtpDll to connect to SSL FTP but now need to connect to FTP that support SSH via port 21. Can someone have some very simple code example so I can learn how to do that?
Thanks!
Jeff
Hi, I have been using SFtpDll to connect to SSL FTP but now need to connect to FTP that support SSH via port 21. Can someone have some very simple code example so I can learn how to do that?
Thanks!
Jeff
by woddrazen , (6169 days ago) @ jmlynn
Hi Jeff,
wodSFTPdll supports only SFTP protocol. For FTP protocol we have wodFtpDLX ActiveX component.
wodFtpDLX supports FTP, SFTP and FTPS protocol.
More help about Protocol you can find here:
http://www.weonlydo.com/FtpDLX/Help/wodFtpDLXLib~wodFtpDLX~Protocol.html
You can download wodFtpDLX here:
http://www.weonlydo.com/Samples/wodFtpDLX.exe
When you install it you will found samples in component Samples folder. Maybe they can help you to start developing with wodFtpDLX.
Let us know how it goes.
Regards,
Drazen
by jmlynn , (6169 days ago) @ woddrazen
I actually got it connected successfully to SFTP/SSH. But now I run into problem attempting to connect to a FTP/SSL (AUTH SSL) server.
From the Forum, it seems that I will have to set up the protocol to FTPSwithData.
But don't know how to do that. When I look at the content of the SftpEventsStruct structure, there is the following substructure that I don't known how to set them up:
(*CryptoInformation)(void *Sftp, char *Protocol, char *RemoteName, char *SCcipher, char *CScipher, char *Keys, BOOL
*Accept);
I wonder if I can just set *Prootcol up and leave everthing else null.
Jeff
by woddrazen , (6169 days ago) @ jmlynn
Jeff,
Are you using wodFtpDLX now?
Did you try wodFtpDLX Samples? You should only change Protocol Property to FTPSwithData protocol. Protocol Property should b set before Connect Method.
Drazen
by jmlynn , (6169 days ago) @ woddrazen
Thanks for the quick reply. Is the wodFtpDLX ActiveX component came with sample C/C++ code samples?
Thanks!
Jeff
by woddrazen , (6169 days ago) @ jmlynn
by jmlynn , (6169 days ago) @ woddrazen
Yes, I downloaded wodFtpDLX and got the sample code compiled and ran successfully.
One minor catch, I personally like to program either in Java or in C/C++, didn't like to do the Ole wrapper kind of call.
Just wonder if there is a SFTPdll like C or C++ DLL interace to call. If such product exist, I would purchase/upgrade to the new DLL so I can support SFTP and FTP/SSL (AUTH SSL).
Jeff
by Jasmine, (6168 days ago) @ jmlynn
Hi. We don't have wodFtpDLX compiled as win32 DLL officially. You can build it by yourself if you wish, but we cannot provide extensive support in doing so, we can only support ActiveX version.
If you're interested in details, please send us a ticket.
Kind regards,
Kreso
by jmlynn , (6166 days ago) @ Jasmine
Hi, Kreso,
I am actually want to develop applications for FTP/SSL (AUTH SSL) and yes, I can use wodFtpDLX, only if I can wrap it into a C or C++ way.
Since the examples that came with wodFtpDLx are all dialog based,
wonder if you have code samples that did use any dialog?
Thanks
Jeff
Hi. We don't have wodFtpDLX compiled as win32 DLL officially. You can build it by yourself if you wish, but we cannot provide extensive support in doing so, we can only support ActiveX version.
If you're interested in details, please send us a ticket.
Kind regards,
Kreso
by wodDamir , (6166 days ago) @ jmlynn
Hi Jeff,
Did you try ATL samples (ConsoleApp or Console with certificate authentication)? Is that what you mean? Does that help?
Regards,
Damba
Thank you so much for your hard work and commitment in producing well thought-out solutions. WeOnlyDo is very committed to customer satisfaction!
Thank you very much for the rapid responses. I was a little nervous about dealing with a company that is on a different continent from me. You have proven my concerns to be unfounded.
Fantastic product by the way, it has helped us tremendously on a daily basis. Keep up the good work.
...with the SFTP interface you produced, everything was so simple to understand, we were able to start coding almost immediately!
This has been, by far, the best experience I have ever had dealing with a support entity in my long career in the technical arena
...your service has been phenomenal. It's always quick and you are there when I need you.
...not only that you provide these components at very reasonable cost, your responsiveness to emailed technical questions is simply outstanding...
I really like these products - they are consistently first rate!
This has been, by far, the best experience I have ever had dealing with a support entity in my long career in the technical arena
Just thought you'd like to know that my gateway app with your SMTP Server component held the line against a DDOS attack today...