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
PromptReceived event
Fires when the command prompt string is received.
Syntax
- Basic
Private Sub object_PromptReceived()
The PromptReceived(object) syntax has these parts:
The PromptReceived(object) syntax has these parts:
object | A wodSSH object. |
Remarks
If you set the Prompt property before you initiated the Connect method, then wodSSH will fire this event each time it receives a string sequence which matches the one defined in the Prompt property.This is a very handy way to determine WHEN to send new commands, because you don't have to parse received data to determine if the command output has finished or not. Also, if the Prompt property is set, you will never receive the same string sequence when the Receive method is called. This makes it easy to examine command output.