Indy FTP Client OnStatus not getting Disconnect events -


i have setup indy idftp client filezilla ftp server.the client tries connect on startup of app and, if fails, keeps retrying every few seconds lifetime of app. in addition, need detect if lose connection and, again, keep trying re-establish connection. having problem. have added onstatus event handler seems fire event types except hsdisconnecting , hsdisconnected. have ondisconnected event handler fires when have locked server, in case, when try connect, fires onconnected fires ondisconnected. however, if set server not active after initial successful connection, server tells me has disconnected me not event in code don't know need start trying connect again? wrong in expecting these events in scenario, there else should listening for? thank in advance help.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -