Disconnect Event
This event is fired when the SFTP subsystem connection is closed.
Syntax
sshclient.on('Disconnect', [callback])
Callback
The 'callback' is called when the 'Disconnect' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.closeReason
Remarks
Do not perform any file operations after this event has been fired.