Error 30008 Cannot sent at this time. not Connecte - WeOnlyDo Discussion board

Error 30008 Cannot sent at this time. not Connecte (General questions)

by vgrapp, Friday, February 25, 2005, 19:59 (7022 days ago)

I am new to use this control and appreciate some help.
I use wodSSH control in Visual Basic application to connect to UNIX server and send some command.
This is example of my code:
wodSSH1.HostName = gsUNIXServer
wodSSH1.Login = gstrFTPUser
wodSSH1.Password = gstrFTPPwd
If Trim(gsProtocol) <> Then
wodSSH1.Protocol = gnProtocol
End If
AddToList Connecting... & vbCrLf
wodSSH1.Timeout = 30
wodSSH1.Connect
sPattern = a
.......
Private Sub wodSSH1_Received(ByVal ByteCount As Integer)

..............
wodSSH1.Send Me.gsShellCommand & vbCrLf ******
DoEvents
wodSSH1.Send Me.gsCleanupCommand & vbCrLf
DoEvents
****** This line sometimes generate 30008 error and even I trap error in error Handler and try to get out from this procedure it will generate GPF and will close application no matter I will do.

Please, help.

Vlad G
[:uhoh:]


Complete thread: