Back to product page

Disconnected notification


Called when user leaves the server.

Syntax

  • Basic
object.Disconnected Owner, User
The Disconnected(object,Owner,User) syntax has these parts:
objectAn expression evaluating to an object of type wodFTPDNotify.
OwnerA wodFTPDCom object. Reference to wodFTPServer instance that called this notification method.
UserA FtpUser object. Reference to user who is leaving the server.

Remarks

NOTE: This method is called only if you implemented IwodFTPDNotify interface in your application, and wodFTPD.Notification property has received reference to instance of your implementation.

This notification method is called when user sends QUIT command and is about to be disconnected from the server. At this point, he is already removed from Users collection, but still you have one last chance to access information stored in his instance of User object.

Platforms

Windows