ChannelType Property
Specifies the Channel Type to be used by the class.
Syntax
public int getChannelType(); public void setChannelType(int channelType);
Enumerated values: public final static int cstSShell = 0; public final static int cstSExec = 1; public final static int cstScp = 2; public final static int cstSftp = 3;
Default Value
0
Remarks
The ChannelType property determines the protocol used by the component and therefore the applicable methods and properties for each channel. Valid values are:
ChannelType | Description | Applicable Methods | Applicable Properties |
0 (cstSShell - default) | An interactive shell for command execution | ||
1 (cstSExec) | Command execution using SExec | ||
2 (cstScp) | SCP File Transfer | ||
3 (cstSftp) | SFTP File Transfer |
Note that CancelOperation and other methods not explicitly listed above are applicable to all channel types.