On Mon, 16 May 2005 14:46:27 +0200
 "Francois PIETTE" <[EMAIL PROTECTED]> wrote:

Winsock nor the component will let you know the server disconnected before you try to send something. So the solution is to periodically send a command just to get the error in case the server closed the connection. Note that periodically sending a command will probably prevent the server from closing the connection because it sees activity.


--
[EMAIL PROTECTED]
http://www.overbyte.be

Thanks a lot. Which command can you advise to send to check if FTP server is avialable?
I send "Syst" command (after each one minute), but get an error thought connection was established.
It is possible to get the error when user view some directory - (command "Pwd") and in the same period of time program send command "Syst"?


Best regards,
Artem Antonov.

--
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

Reply via email to