Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Command property
Specifies the command to be sent to server upon connection.
Type
A String value. Command to send upon successful connection.Syntax
- Basic
object.Command [= value]
The Command(object,value) syntax has these parts:
The Command(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodSSH. |
value | A String value. |
Remarks
If this property is set, wodSSH will try to execute the command upon successful connection. For SSH protocols this feature is implemented by the protocol specification. However, for the Telnet protocol it is possible for wodSSH to fail to execute the command you specify if the remote server is 'non-standard'.Upon execution of the command, wodSSH will wait for output returned by the command, and will disconnect after receiving it.
Please note that if the Login and Password properties are not set, then the Telnet protocol will not be able to perform this operation. Also, setting this property causes AllocatePty to be set to False - so you must set it back to True if you wish after setting this command.