SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Node.js Edition - Version 20.0 [Build 8165]