lnet + FTP lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Stygian · 2011-11-13 10:25 Hello I want to make a simple program. It's a "mailing" program. All I want is connect up the FTP then read and write into the database. I use lnet visual. And the demo program connect up perfectly. What did I do wrong? Code: [Select]FTP.Connect(host, port); FTP.Authenticate(user, pass); FTP.Retrieve('database.sqlite'); FTP.Disconnect(TRUE); All help will be welcome. Thanks Stygian ---------------------------------------------------------------------- IndianaJones · 2011-11-15 21:02 if you fetch any data from ftp server than you can look at the lNet ftp example. There are ftp, http, smtp, telnet examples in the example directory.