Use individual component method for each step. Foe exemple, instead of Connect, use Open, User and Pass. So at each step you have the status in properties StatusCode and LastResponse.
You should have a look at FtpCli.pas source code and see all the properties, events and methods. All names are really meaninful. There is also a quick reference guide in the comments at the start of the source file. -- [EMAIL PROTECTED] http://www.overbyte.be ----- Original Message ----- From: "Mike McGreek" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Saturday, April 16, 2005 4:37 PM Subject: Re: [twsocket] Question >> How can I setup checkboxes to seetheFTP-Status > > You understand me wrong. I do the connect-call then the other calls. I want to know what I need minimal to get the Error-Messages and the normal messages from the server. > > Here a example: > > I connect to the server. The server send me 421 back. If it is 421 my program should wait 2 min for example. So I must log the message 421 in a edit or memo to phrase it. > > So I think I should do this so: > > memo1.lines.add(timetostr(time)+msg); > > msg will be the message form FTPCLI. > > ... or I'm on the wrong way? > > > Send instant messages to your online friends http://uk.messenger.yahoo.com > -- > 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