Re: [twsocket] FTPClient not ready

2005-11-22 Thread Francois PIETTE
I'm not sure I understand how your architectured your software. Anyway, the 
error you have comes from the fact you ask the component to do an operation 
while another is still being processed.

You may try this: from your OnRequestDone event, post a custom message to 
your form and place the code to do whatever you like in the corresponding 
event handler.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be



- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, November 22, 2005 12:16 PM
Subject: [twsocket] FTPClient not ready


> hi All,
> In my application i have 3 TTimer compents that on interval
> time send ftp command
> with TFtpClient components. I control this
> procedure on OnRequest event but the component say "FTPclient not
> ready";
> how make to control this event, why ?
> Thank in advanced.
> Marco.
> Italy
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

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


Re: [twsocket] FTPClient not ready

2005-07-20 Thread Francois Piette
> in my delphi application i use the TFtpClient with timer that on interval
> retrieve file from my ftp server. My first time ftpclient works, but another
> time
> stop it generate "FTP Component not ready", Why ?

Because you ask the component to do an operation while the previous one is 
still executing in the
background (async operation).

> How do i control this situation ?

Use the OnRequestDone event to "chain" your operations.


--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


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