Normal and abnormal disconnects

Giganews Newsgroups
Subject: Normal and abnormal disconnects
Posted by:  Khash Sajadi (kha…
Date: Wed, 16 Mar 2005

Is there a way of recognising if a disconnection of a client to the FTP
server is a normal disconnect or if it has happened when the upload was
still going on.

I noticed that there is a difference in the sequence of events between Indy
9 and 10. In Indy 10 the stream (VStream in file store event) gets destroyed
first and then when the destruction is successful, the OnDisconnect event
gets fired.

Any help is appreciated.