Re: [twsocket] Question >> How can I setup checkboxes to seetheFTP-Status

2005-04-16 Thread Mike McGreek
Arno, I think that will be the easiest way. I'll try it. I readed the whole code and understand it. It is realy good written. Also the infos about each function. Great work. It is more stabil than Indy10. I'll keep on trying ... Probably FtpCli.StatusCode is what you are looking for? Arno Gar

Re: [twsocket] Question >> How can I setup checkboxes to seetheFTP-Status

2005-04-16 Thread Mike McGreek
I tried try/except. try FTPClient1.connect except showmessage(msg); I never got a errormessage. I think I missed to definie msg. ... any Idea? the other things I'll look into it ... Send instant messages to your online friends http://uk.messenger.yahoo.com -- To unsubscribe or chan

Re: [twsocket] Question >> How can I setup checkboxes to see theFTP-Status

2005-04-16 Thread Mike McGreek
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 exampl

Re: [twsocket] Question >> How can I setup checkboxes to see theFTP-Status

2005-04-16 Thread Mike McGreek
Win32, Yes. I had a look into Your FTPTST example. So I need only the status-function. How do You display Your messages? I can't show the messages in my program. In FTPTST is a display-function. procedure Display(const Msg: String); procedure DisplayHandler(Sender: TObject; var Msg :

[twsocket] Question >> How can I setup checkboxes to see the FTP-Status

2005-04-16 Thread Mike McGreek
I'm coding with Delphi 2005. Till now I don't see the ftp-status. I like to have 3 checkboxes for each status (Online, 421, Offline). If one status is true the checkbox for the status should be checked. I know that FTPCLI has a status-Option with a log. How can I do it easily to get the status t