CFtpServer::OnDisconnect Method  
 
virtual void OnDisconnect(
  UINT nClientId  
);

A virtual method that is invoked immediately before the client is disconnected from the server.

Parameters

nClientId
An unsigned integer which uniquely identifies the client session.

Return Value

None.

Remarks

The OnDisconnect event handler is invoked immediately before the client is disconnected from the server. To implement an event handler, the application should create a class derived from the CFtpServer class, and then override this method.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csftsv10.lib

See Also

OnConnect, OnLogout