Recent

Author Topic: lnet + FTP  (Read 7775 times)

Stygian

  • Jr. Member
  • **
  • Posts: 90
lnet + FTP
« on: November 13, 2011, 11:25:16 am »
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

  • Hero Member
  • *****
  • Posts: 509
Re: lnet + FTP
« Reply #1 on: November 15, 2011, 10:02:43 pm »

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.

 

TinyPortal © 2005-2018