Re: Contents of Receive Buffer - WeOnlyDo Discussion board

Re: Contents of Receive Buffer (General questions)

by wodDamir, Thursday, August 23, 2007, 21:27 (6301 days ago) @ bmclellan

Barry,

Yes, since WaitFor Timed out, the code proceeded to :ReceiveResult (where pointed by GoTo statement), and Receive Method was called.

The stored result was the standard text that i receive any time I log into the server (a welcome screen etc.)

If you wish, you can modify my ReceiveResult sub to this:
---------------------------
:ReceiveResult
t1 = objSSH.Receive
Message( Received Data ,t1)
objSSH.Disconnect
:EndReceiveResult
---------------------------

It will show a MessageBox with the data received.

Regards,
Damba


Complete thread: