Hello,

You should either use the sync methods or use events and message pump.
Because FtpClient.OpenAsync; does return immediately as it expects to launch
event when done.

HTH

SZ


On Tue, Oct 13, 2009 at 5:52 PM, Signed Source® Project <
dan...@signedsource.com> wrote:

> Hello,
> I am trying to pick a file from my server by using ICS FTP component with
> no success.
>
> This is all I need to do, nothing more...
>
> FtpClient.HostName := 194.100.68.141;
> FtpClient.Port := ftp;
> FtpClient.UserName := christian;
> FtpClient.Password := dummy_client;
> FtpClient.HostDirName := '/';
> FtpClient.OpenAsync;
>
> FtpClient.HostFileName := ' Port_INFO.exe';
> FtpClient.LocalFileName := 'C:\ Downloaded';
> FtpClient.GetAsync;
>
> It keeps saying "FTP NOT READY"
> I don't need anything else. Just connect to the server to the selected
> directory and download or upload.
> What is this "FTP NOT READY" anyway?
>
> Can someone please give me some help?
>
> -dan
> --
> 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
>
--
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