Re: Inconsistent SSH behavior - WeOnlyDo Discussion board

Re: Inconsistent SSH behavior (General questions)

by woddrazen, Thursday, April 22, 2010, 19:06 (5328 days ago) @ Herut

Herut,


When you use Prompt Property you should wait for result inside PromptReceived Event.

Maybe you should switch to WaitFor and Execute Method in blocking mode. Can you maybe try something like this:

http://example.weonlydo.com/index.asp?did=Send+multiple+commands+to+SSH+server+using+synchronous+connection

You can try with regex value for a prompt in WaitFor and Execute line but you can also add there your direct prompt value.

Let us know how it goes.


Drazen


Complete thread: