receive output - WeOnlyDo Discussion board

receive output (wodSSH / wodSSH.NET)

by wodSupport, Tuesday, September 02, 2014, 17:01 (2096 days ago) @ Ganesh Sankpal


I don't know what's going on under the hood, but you can try not to use WaitFor, and rather use Receive method, in a loop.

What you should do is define global variable

Dim InBuffer as String

and then in a loop do something like this


InBuffer = InBuffer + Ssh1.Receive
if InStr(InBuffer, 1, "something_I_need_inside") then goto out

or something similar to this. THis way you can control more than one thing in the buffer, and have full buffer that is arriving for your own usage.

Can you try something like that?


Complete thread: