Re: Normal and abnormal disconnects

Giganews Newsgroups
Subject: Re: Normal and abnormal disconnects
Posted by:  RHB (r…
Date: Tue, 22 Mar 2005

Khash Sajadi wrote:

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

if client do not send the quit command, u can treat it as abnormal



In response to

Normal and abnormal disconnects posted by Khash Sajadi on Wed, 16 Mar 2005