Back to product page

Banner


Called when remote server provides banner text.

Type

None

Syntax

  • Basic
object.Banner Owner, Text
The Banner(object,Owner,Text) syntax has these parts:
objectAn expression evaluating to an object of type IwodSSHNotify.
OwnerA wodSSHCom object.
TextA String value. Text message provided by remote server.

Remarks

This method is called only if you implemented the IwodSSHNotify interface in your application, and the wodSSH.Notification property has received a reference to the instance of your implementation.

This notification method can be called 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 notification, same banner text will be provided as first data received in Received notification. However, if you use this notification and show received Text, you should set it to empty string before notification method completes, so data isn't duplicated again in Received notification method.