Re: Testing WodSSH prompt (General questions)
Thanks!
I think that I use it quite different. Here's my procedure. Can you tell me if I can integrate it with your suggestion, and if so - how exactly?
Thanks
[code]
If ssh1.State = WODSSHCOMLib.StatesEnum.Connected Then
ssh1.Disconnect() 'True
End If
ssh1.Protocol = WODSSHCOMLib.ProtocolsEnum.SSHAuto
ssh1.Blocking = True
ssh1.Connect()
ssh1.WaitFor(my_prompt)
ret = (ssh1.Execute(strExec & vbLf, my_prompt, my_timeout))
[/code]
Tamir,
You can determine if prompt is correct using PromptReceived Event. When prompt from Prompt Property is received PromptReceived Event should be fired.Can you please try that and let us know how it goes?
More help for PromptReceived Event you can find here:
http://www.weonlydo.com/SSH/Help/WODSSHLib~wodSSH~PromptReceived_EV.html
Drazen
Complete thread:
- Testing WodSSH prompt - Tamir, 2009-10-26, 19:04
- Re: Testing WodSSH prompt - woddrazen, 2009-10-26, 20:00
- Re: Testing WodSSH prompt - Tamir, 2009-10-26, 21:01
- Re: Testing WodSSH prompt - woddrazen, 2009-10-26, 21:55
- Re: Testing WodSSH prompt - Tamir, 2009-10-27, 18:22
- Re: Testing WodSSH prompt - wodDamir, 2009-10-27, 18:30
- Re: Testing WodSSH prompt - Tamir, 2009-10-27, 18:22
- Re: Testing WodSSH prompt - woddrazen, 2009-10-26, 21:55
- Re: Testing WodSSH prompt - Tamir, 2009-10-26, 21:01
- Re: Testing WodSSH prompt - woddrazen, 2009-10-26, 20:00