wodSSH ActiveX Control - Banner Method
      
 

Description

Called when remote server provides banner text.


Return Type

None  


Syntax

object.Banner Owner, Text



The Banner Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodSSHNotify.
Owner A wodSSHCom object.
Text A 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.