Banner Event
Reports the receipt of the Welcome message from the server.
Syntax
sftpclient.on('Banner', [callback])
Callback
The 'callback' is called when the 'Banner' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.text (buffer) e.language (buffer)
Remarks
The class fires this event when it receives a welcome message from the server. Use the Text parameter to access the encoded message.