SFTP Connection lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- jorge_mosquera · 2025-02-12 15:34 Hello   . Please can you tell me which components should be used and if possible an example to create a connection client to an SFTP server to send and download files. I work on Windows with Lazarus 3.6 and FPC 3.2.2. Thank you ---------------------------------------------------------------------- Remy Lebeau · 2025-02-12 15:53 Just to be clear - do you really want SFTP (FTP over SSH) or do you want FTPS (FTP over SSL/TLS)? Many people get this backwards, and they are not interchangeable. ---------------------------------------------------------------------- jorge_mosquera · 2025-02-13 15:16 Hi, i need to connect to SFTP (FTP over SSH) server. ---------------------------------------------------------------------- rvk · 2025-02-13 15:29 It has been a while but there are several topics about it (in which I participated). https://forum.lazarus.freepascal.org/index.php/topic,59886.msg447450.h tml#msg447450 ---------------------------------------------------------------------- jorge_mosquera · 2025-02-14 13:26 Hi, download the code but now the following error appears: Code execution cannot continue because the libcl.so library was not found. This problem can be solved by reinstalling the program I attach the project Regards ---------------------------------------------------------------------- rvk · 2025-02-14 13:34 Quote from: jorge_mosquera on February 14, 2025, 02:26:46 pmCode execution cannot continue because the libcl.so library was not found. This problem can be solved by reinstalling the program I thought you said you were on Windows. So I'm not sure why it would want to load libcl.so...  Second... you have ssl_cryptlib in there. So you would need the CryptLib library dll's (CL32.DLL on Windows and libcl.so on Linux). Those are not free for commercial use. I'm also not sure where you could download those (because I never used those because of that limitation). You can also use libssh2 instead of CryptLib (and libssh2 is freely distributable). I know you can get the libssh2.dll from the curl installation like I linked to in one of those topics.