Re: Contents of Receive Buffer - WeOnlyDo Discussion board

Re: Contents of Receive Buffer (General questions)

by wodDamir, Thursday, August 23, 2007, 15:31 (6302 days ago) @ bmclellan

Hi Berry,

You should try issuing a Receive Call to see what was actually received. I.e if I do the following (VB):
--------------------------------------------
ssh1.HostName = my_hostname
ssh1.Login = my_login
ssh1.Password = my_password
ssh1.Protocol = SSHAuto
ssh1.Blocking = True
ssh1.Connect
On Error Resume Next
Debug.Print ssh1.WaitFor( joe@debian , 10)
Debug.Print ssh1.Receive
--------------------------------------------

I receive everything that arrived, although Timeout occured on my WaitFor Call (I set incorrect prompt on purpose).

Hope I helped.

Regards,
Damba


Complete thread: