[Gambas-user] FTP Secure doesn't work on Gambas?
Jorge Carrión
shordi at gmail.com
Wed Oct 25 10:33:23 CEST 2017
Hi,
We have installed a SSL certificate in our internet server and we want all
FTP transactions under SSL, So I changed the FTP server to allow only
SSL/TLS connections.
In Gambas I use this code:
Dim ftptest As New FtpClient
ftptest.URL = servidor.Text & IIf(port.text, ":" & port.text, "")
ftptest.User = usuario.Text
ftptest.Password = password.Text
ftptest.SSL.VerifyHost = True
ftptest.SSL.VerifyPeer = False
ftptest.debug = True
ftptest.Async = False
ftptest.get(tmp)
And I received this on console:
* Rebuilt URL to: ftp://myserver.com:21/
* Trying 999.999.999.999(the server's IP)...
* Connected to myserver.com (999.999.999.999) port 21 (#0)
< 220 ProFTPD 1.3.5d Server (ProFTPD) [999.999.999.999]
> USER myuser
< 550 SSL/TLS required on the control channel
* Access denied: 550
* Closing connection 0
Gamba's FTP client doesn't work or I've been missing something?
Thanks in advance
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171025/53751105/attachment.html>
More information about the User
mailing list