Re: probably problems with buffer (General questions)
Paolo,
I'm not sure why it isn't working because I cannot send your command on our server.
Why don't you try with Execute Method instead using Command Method.
Here is complete sample:
-------------------------------------------------------
ssh1.Protocol = WODSSHCOMLib.ProtocolsEnum.SSH2
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( shmview -sysmon + vbLf, regex:[\$ #>] $ , 30))
-------------------------------------------------------
Let us know how it goes.
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