ChannelType Property
Specifies the Channel Type to be used by the component.
Syntax
public var channelType: SshplexChannelTypes
public enum class SshplexChannelTypes(val value: Int) {
cstSShell(0),
cstSExec(1),
cstScp(2),
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.