[RESOLVED] VB6 and (S)FTP
In the past I have supplied my programs with new versions via FTP. The program connected to the server, compared the available versions and loaded new data if necessary.
My server hoster has recently blocked all unencrypted FTP connections. For simple downloads I use now HTTP(S). I have a small PHP script on the server for this. But there are more complex things for which (S)FTP would be better.
Using WinSCP, I have explored the possibilities. The following would work:
- SFTP via port 22
- FTP with "TLS/SSL Explicit encryption" over port 21
WinSCP even offers a DLL that supports both. However, this is a .Net DLL that can only be used from VB6 via wrapper. This complicates the installation for the end user. Many dependencies, COM registration, etc. (https://winscp.net/eng/docs/library_install#registering)
Overall, VB6 and SFTP seem to be located on different hemispheres.... :ehh:
Do you have any better ideas?
Re: [RESOLVED] VB6 and (S)FTP
Quote:
Originally Posted by
wwolf
In the past I have supplied my programs with new versions via FTP. The program connected to the server, compared the available versions and loaded new data if necessary.
Why are you using FTP to get the new versions? Do you also need to upload data instead of just download?
Re: [RESOLVED] VB6 and (S)FTP
Quote:
Originally Posted by
VanGoghGaming
Why are you using FTP to get the new versions? Do you also need to upload data instead of just download?
That is one of the reasons. I use a form of WebEDI service based on FTP (does this exist outside of Germany?). Our provider has offered FTP and SFTP so far. However, FTP is to be discontinued. Overall, I find SFTP also better, because the transferred data are sometimes also worth protecting. W. Wolf