Thanks for your feedback. This bug has been corrected since a long time. You should upgrade to the latest ICS version.
-- [EMAIL PROTECTED] http://www.overbyte.be ----- Original Message ----- From: "Moacir Flávio Gonçalves" <[EMAIL PROTECTED]> To: <twsocket@elists.org> Sent: Wednesday, April 06, 2005 6:46 PM Subject: [twsocket] FTP RestGetAsync problem? > I was doing a RestAsync and get a error "ftp component not ready". > When debugging I find a State ftpPasvReady when it just call RestAsync, > and the function CheckReady only accept ftpReady and ftpInternalReady. > What I had donw wrong? my code only call RestGetAsync, like said in the > comments in the start of FtpCli.pas. When I changed the function CheckReady > like this: > > > function TCustomFtpCli.CheckReady : Boolean; > begin > //Result := (FState in [ftpReady, ftpInternalReady]); > Result := (FState in [ftpReady, ftpPasvReady, ftpInternalReady]); > if not Result then > HandleError('FTP component not ready'); > end; > > it just work fine. > > ----- > Rm 12:2 - "E não vos conformeis com este século, mas transformai-vos pela renovação da vossa mente, para que experimenteis qual seja a boa, agradável e perfeita vontade de Deus." > -- > 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