Re: WeOnlyDo.wodSSHCom.1: The current connection h - WeOnlyDo Discussion board

Re: WeOnlyDo.wodSSHCom.1: The current connection h (General questions)

by woddrazen, Saturday, May 11, 2013, 14:50 (3996 days ago) @ woddrazen

Hi,


Unfortunately for some reason we are unable to duplicate this issue. Here is my code snippet:
[code]ssh1.Connect

ssh1.WaitFor ( regex:[$ #>] $ )
ssh1.DataReady = 0
command1 = echo X123456789X123456789X123456789X123456789X123456789;echo X123456789X123456789X123456789X123456789X123456789;echo X123456789X123456789X123456789X123456789X123456789;echo X123456789X123456789X123456789X123456789X123456789;echo X123456789X123456789X123456789X123456789X123456789;echo X123456789X12345678;echo ABCD;
Debug.Print ssh1.Execute(command1 & vbCrLf, regex:[$ #>] $ , 15)[/code]
as you can see I added WaitFor and DataReady lines inside my code before Execute Method. WaitFor is used to catch prompt when you connect to server and DataReady is used to empty buffer.

Is there any chance you can try same on your side? If problem persist we will need to duplicate it somehow on our side. So maybe it's best that you try to connect to our Solaris server.

Please send email to techsupport@weonlydo.com so we can send you there instruction how to connect. We cannot send it here because this is public forum so everyone could connect to our server.


Drazen


Complete thread: