Security ActiveX
Crypt
SSH
SFTP
SSHServer
SSHTunnel
SSHpackage
SFTPdll

Security .NET
SSH.NET
SFTP.NET
FtpDLX.NET
WebServer.NET

General Protocols
AppUpdate
HttpDLX
FtpDLX
TelnetDLX
FTPServer
WebServer
VPN
XMPP

Mail
MailServer
Mailbox
ImapServer
SmtpServer
Pop3Server
Smtp
Pop3

Free
Beep
DHCPServer
ShellMenu

  Search: 
Anonymous posting is allowed. We will try to reply to your posts as soon as possible. Another members are encouraged to reply to new users.
If you specify your email in the posted message, it will be masked. You will receive notification when someone replies to your post.
NOTE: we are slowly moving interesting forum posts to our Knowledge base so if you see posts deleted - you know where to find them.
Remember me Registration (Optional)
Forums -> ->
Reply | New topic

ihutee

Anonymous
          
WODHTTP does not always fire _DONE 17-02-2011 23:08
How can I fix this?

in my _Done i have a .disconnect so it closes the connection..

but _Done doesnt always fire. Sometimes _Disconnected fires instead.

_Disconnected shows a timeout error.

Even in the _Done event I have an if statement

If ErrorCode = 0 then
'run my routine
Else
'display error
End If

Can you help me figure out why _Done doesn't always fire, and sometimes the _Disconnected does instead.

Do I need to make my parse html routine in _Disconnected instead of _Done?
Reply with quote

wodDamir
Support

Postings: 1322
Moderator
          
Re: WODHTTP does not always fire _DONE 18-02-2011 00:02
ihutee,

Done event isn't triggered for connection related errors. It is only triggered in cases when connection to server was successful, but some error occured at that time.

If connection was unsuccessful, Disconnect will be triggered instead.

Regards,
Damba

____________________________________
____________________________________
WeOnlyDo! Software - Internet Security Components
-----=== http://www.weonlydo.com ===-----

Reply with quote

ihutee
Anonymous
          
Re: WODHTTP does not always fire _DONE 18-02-2011 00:32
Follow Up:

In the _Disconnected event I am trying to change proxy but I am receiving the error "Cannot change host information at this time." Error.

Why cannot I change the proxy if it has already Disconnected the connection. I am quite confused why this is happening. Can you help me out here?
Reply with quote

ihutee
Anonymous
          
Re: WODHTTP does not always fire _DONE 18-02-2011 00:41
Also, I cannot set blocking mode to True as I am arraying multiple wodhttps. This would make it so #1 would need to finish before #2 could start. Im using these simultaniously.

Please let me know ASAP!
Reply with quote

wodDamir
Support

Postings: 1322
Moderator
          
Re: WODHTTP does not always fire _DONE 18-02-2011 09:54
ihutee,

The error you're mentioning is only thrown in case of an active connection (State is other then Disconnected).

Can you please check the State property when this exception is thrown?

Regards,
Damba

____________________________________
____________________________________
WeOnlyDo! Software - Internet Security Components
-----=== http://www.weonlydo.com ===-----

Reply with quote
 
 
Copyright © 2001-2013 WeOnlyDo All Rights Reserved
Privacy statement     |     Terms of use     |     Refund policy