Re: Contents of Receive Buffer - WeOnlyDo Discussion board

Re: Contents of Receive Buffer (General questions)

by bmclellan, Thursday, August 23, 2007, 18:52 (6302 days ago) @ wodSupport

Hello,

You can definitely download it and try it out for 30 days or so, go to http://www.winbatch.com/download.html and click on the download link under: Winbatch, or here is a direct link: http://files.winbatch.com/wwwftp/wb01/wb44i07c.zip

They also have a fantastic web board to post questions on: http://webboard.winbatch.com/

Once you download the studio, start it up and save your file with a .wbt extension.

Here is my starting point in the code:

objSSH = ObjectCreate( WeOnlyDo.wodSSHCom.1 )
objSSH.HostName = IP
objSSH.Port = Port
objSSH.Login = UserName
objSSH.Password = Password
objSSH.Blocking = 1
objSSH.Protocol = 4
objSSH.Timeout = 5

t1 = objSSH.Connect
;I was hoping this would return a 1 or 0, and not an exception which get's harder to trap

t1 = objSSH.WaitFor( [513] )
;again, hoping a return code instead of an exception would be sent back to me

;at some point I would need to see what is sitting in the receive buffer if the above doesn't work

objSSH.Disconnect

Thanks again for your help!
Barry


Complete thread: