Disconnect Event
Reports SFTP connection closure.
Syntax
sftpclient.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
The class fires this event to report connection closure. No more SFTP activity could be done after the disconnect.