wodSSH ActiveX Control - Send Method
      
 

Description

Sends data to the server.


Return Type

None  


Syntax

object.Send Data



The Send Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSSH.
Data Required. A Variant value. Data to be sent to the server.

Remarks

The Send method is used to send arbitrary data to the server during the connection. Depending on the protocol currently in use, wodSSH will internally change data to ensure that it will be received correctly at the remote end. For example, if SSH protocol is used it will encrypt the data.

The Data parameter can be one of following types: Boolean, Integer, Long, String, Byte array. wodSSH will internally 'convert' it to a structure suitable for transport.

Any amount of data can be transmitted by one call to the Send method - although it is suggested that no more than 64k should be sent in one call. Instead, use the Send method several times so that internal buffers can be properly initialized. This is important for SSH protocol types.