Re: Question about connection and sending with wod (General questions)
Hi Michael,
Instead of using Sleep, why don't you try with WaitFor Method?
You can insert WaitFor between sending commands. That way you would be certain that the specified prompt is received (and thus command was executed), and you can send the next command.
That way you could also wait for --More-- and decide what to do when you receive it.
As for the prompt property, did you try using regex expressions? Maybe you could customize it so that the PromptReceived Event is triggered in both cases. If not, you could check the received data for --More-- string.
Hope I helped.
Regards,
Damba
Complete thread:
- Question about connection and sending with wodSSH. - Michael Helsel, 2007-05-25, 19:45
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:10
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:19
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-25, 20:40
- Re: Question about connection and sending with wod - wodSupport, 2007-05-25, 23:10
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-26, 14:33
- Re: Question about connection and sending with wod - wodDamir, 2007-05-26, 15:05
- Re: Question about connection and sending with wod - mhelsel, 2007-06-05, 18:34
- Re: Question about connection and sending with wod - wodDamir, 2007-05-26, 15:05
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-26, 14:33
- Re: Question about connection and sending with wod - wodSupport, 2007-05-25, 23:10
- Re: Question about connection and sending with wod - Michael Helsel, 2007-05-25, 20:40
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:19
- Re: Question about connection and sending with wod - woddrazen, 2007-05-25, 20:10