Re: Question about SSH ActiveX Control (General questions)
Josh,
When you use WaitFor method, it strips everything received from the buffer. That means that when you call Receive method, the string received by WaitFor won't be shown (since it's no longer in the buffer).
You should use WaitFor as a function. I.e:
dim a as string
a=ssh.WaitFor( prompt )
and then append the next waitfor to a etc.
This way you will receive everything.
Can you try this?
Regards,
Damba
Complete thread:
- Question about SSH ActiveX Control - Josh, 2007-12-13, 23:46
- Re: Question about SSH ActiveX Control - woddrazen, 2007-12-14, 00:23
- Re: Question about SSH ActiveX Control - Josh, 2008-03-03, 17:33
- Re: Question about SSH ActiveX Control - wodDamir, 2008-03-03, 17:51
- Re: Question about SSH ActiveX Control - Josh, 2008-03-03, 18:41
- Re: Question about SSH ActiveX Control - wodDamir, 2008-03-03, 17:51
- Re: Question about SSH ActiveX Control - Josh, 2008-03-03, 17:33
- Re: Question about SSH ActiveX Control - woddrazen, 2007-12-14, 00:23