> *Subject:* [twsocket] FTPClient1 - OnError() event > I would like to know that my command finished successfully. That > I do in OnRequestDone() event. However, there are times that > there will be errors When such a thing occurs, I get error > message displayed using OnError() event.
The OnError event is called for errors before an FTP request actually starts, instead of OnRequestDone. Usually incorrect information passed for the command, or no connection so the command can not start, or already connected when trying to connect. So it's one event or the other, for async methods. For sync it does not matter. Angus -- 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