Re: My Wodssh1 is not working as a telnet client. - WeOnlyDo Discussion board

Re: My Wodssh1 is not working as a telnet client. (General questions)

by wodSupport, Tuesday, August 31, 2004, 23:52 (7178 days ago) @ Luis Galiano

Luis,

can you please create new VB project, add reference to 'WeOnlyDo! SSH/Telnet Component' to your project, and then paste this code and run it. Does it work for you. I just tried it here - it does ok for me.
[code]Private Sub Form_Load()
Dim wodSSH1 As wodSSHCom
Set wodSSH1 = New wodSSHCom

wodSSH1.Protocol = Telnet
wodSSH1.Blocking = True
wodSSH1.HostName = ***
wodSSH1.Login = ***
wodSSH1.Password = ***
wodSSH1.Port = 23
wodSSH1.Timeout = 30
wodSSH1.Command = echo Hello
wodSSH1.connect
Debug.Print wodSSH1.Receive

End Sub[/code]
Let me know.
Kreso


Complete thread: