Re: probably problems with buffer (General questions)
Hi Paolo,
Can you try something like this:
--------------------------------------------
ssh1.Hostname = your_hostname
ssh1.Login = your_login
ssh1.Password = your_password
ssh1.Blocking = True
ssh1.Connect()
ssh1.WaitFor( regex:[\$ #>] $ )
ssh1.DataReady = 0
TextBox1.Text = TextBox1.Text + (ssh1.Execute( YOUR COMMAND + vbLf, regex:[\$ #>] $ , 30))
--------------------------------------------
More help for Execute Method you can find here:
http://www.weonlydo.com/SSH.NET/Help/WeOnlyDo.Client.SSH.Execute_overload_1.html
Let us know how it goes.
Regards,
Drazen
Complete thread:
- probably problems with buffer - spettroelica, 2006-12-28, 15:57
- Re: probably problems with buffer - woddrazen, 2006-12-28, 16:27
- Re: probably problems with buffer - spettroelica, 2006-12-28, 17:39
- Re: probably problems with buffer - woddrazen, 2006-12-28, 17:55
- Re: probably problems with buffer - spettroelica, 2007-01-02, 09:56
- Re: probably problems with buffer - woddrazen, 2007-01-02, 11:23
- Re: probably problems with buffer - spettroelica, 2007-01-02, 11:58
- Re: probably problems with buffer - woddrazen, 2007-01-02, 12:46
- Re: probably problems with buffer - spettroelica, 2007-01-02, 17:30
- Re: probably problems with buffer - woddrazen, 2007-01-02, 12:46
- Re: probably problems with buffer - spettroelica, 2007-01-02, 11:58
- Re: probably problems with buffer - woddrazen, 2007-01-02, 11:23
- Re: probably problems with buffer - spettroelica, 2007-01-02, 09:56
- Re: probably problems with buffer - woddrazen, 2006-12-28, 17:55
- Re: probably problems with buffer - spettroelica, 2006-12-28, 17:39
- Re: probably problems with buffer - woddrazen, 2006-12-28, 16:27