Thank you very much. He have found the problem. The servername was
incorrect.
Regards.
- Original Message -
From: Arno Garrels [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Monday, June 27, 2005 6:35 PM
Subject: Re: [twsocket] FTPClient
Carlos Lalín wrote
Hello,
I use the component FTPCliente to download files from a server. I indicate the
name of the file where appear the name of the files to download. After doing
Ls, the file is empty when with another program FTP I see that there are files.
To what can it owe?
Thank you.
Regards.
Carlos.
--
] FTPClient
Carlos Lalín wrote:
After doing Ls, the file is empty
I don't think it's possible *if the remote directory was not
empty. You *may get an error in OnRequestDone if it was empty
and file listing was therefore not sent.
Arno Garrels
Carlos Lalín wrote:
Hello,
I use the component
elements.
Regards.
- Original Message -
From: Arno Garrels [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Monday, June 27, 2005 2:17 PM
Subject: Re: [twsocket] FTPClient
Carlos Lalín wrote:
I'm sorry but this is like that. The files are there but the file is
empty
failed');
if not FtpClient1.Ls then
raise Exception.Create('LS failed');
..
Doesn't the server require a login?
Arno Garrels
Carlos Lalín wrote:
The code is:
FtpClient1.HostName := servername;
FtpClient1.Port := 'ftp';
FtpClient1.Binary:= true