Hi,

I'm having difficulty reading from an ftp server.

If I initialise my TFTPClient as follows:

  FTPClient1.UserName:='username';
  FTPClient1.Password:=PWD;
  FTPClient1.HostName:='myftp.uklinux.net';
  FTPClient1.Binary:=TRUE;
  FTPClient1.Passive:=TRUE;
  FTPClient1.OpenAsync;
  FTPClient1.LocalStream:=TStringStream.Create(RcvdString);
  FTPClient1.LocalFileName:='C:\Windows\Temp\Test.txt';
  FTPClient1.Ls;

Where can I read the result of my 'ls' command.

Am I on completely the wrong track?

Many Thanks,

Dave Coventry
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to