How to connect Lazarus app to SFTP Server with public IP lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- eddy16391 · 2018-11-15 13:40 Hi everybody, I'm trying to write an app that send a zip file to a SFTP server with public IP address. I've installed INDY platform but I can't understand how to use it. Anyone know how to do it or have a link to a guide? Thank you. ---------------------------------------------------------------------- sash · 2018-11-18 20:34 According to this https://stackoverflow.com/questions/4235714/ftp- over-ssh-sftp-in-delphi-2010 you can't, since SFTP (which is not the same as FTP over SSL/TLS) is not supported in Indy. ---------------------------------------------------------------------- Remy Lebeau · 2018-11-19 20:42 Quote from: eddy16391 on November 15, 2018, 02:40:16 pmI'm trying to write an app that send a zip file to a SFTP server with public IP address. I've installed INDY platform but I can't understand how to use it. Anyone know how to do it or have a link to a guide? By SFTP, are you referring to: - actual SFTP (file transfer subset of SSH) - FTP over SSH - FTP over SSL/TLS ? Many people get them mixed up, but they are completely different and unrelated protocols.  Of the three, Indy supports only FTP over SSL/TLS at this time.  It does not support SSH at all. To use FTP over SSL/TLS in Indy, you can assign a TIdSSLIOHandlerSocketBase-derived component to the TIdFTP.IOHandler property, and then you can set the TIdFTP.UseTLS property to utUseImplicitTLS or utUseExplicitTLS as needed, and set the TIdFTP.DataPortProtection property to ftpdpsPrivate. ---------------------------------------------------------------------- rvk · 2018-11-19 22:35 You could try to do it with Synapse in combination with libssh2. I had some working code somewhere. https://forum.lazarus.freepascal.org/index.php/topic,28053.msg178389.h tml#msg178389