Back to product page

Banner event


Fires when remote server provides banner text.

Syntax

  • Basic
Private Sub object_Banner(Text)
The Banner(object,Text) syntax has these parts:
objectA wodSSH object.
TextA String value. Text message provided by remote server.

Remarks

This event can be fired if remote server provided Banner text before (successful) authentication was performed. When provided, it usually contains information about the server, possible warning, or any kind of data server administrator wants you to see. It can also provide specific "challenge" information you should use when providing the password.

If you ignore this event, same banner text will be provided as first data received in Received event. However, if you use this event and show received Text, you should set it to empty string before event completes, so data isn't duplicated again in Received event.

Platforms

Windows