ChannelType Property
Specifies the Channel Type to be used by the component.
Syntax
public var channelType: SshplexChannelTypes {
get {...}
set {...} }
public enum SshplexChannelTypes: Int32 { case cstSShell = 0 case cstSExec = 1 case cstScp = 2 case 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.