You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Mailing User <ma...@mail.com> on 2016/05/11 14:09:23 UTC

[FTP] No disconnected event? Should poll periodically?

I think the connection to a FTP server can be lost. Reasons can be, network disconnection or client idling. 
 
If that happens, can I be notified of the disconnection? I cannot find any "event" for that. Should I keep polling the state by periodically calling "isConnected()"?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org