> This message is a re-post of a message sent to the delphi-talk list.

You should really post your message to ICS support mailing list
([email protected]). Of course you must first subscribe to the list !
Please goto http://www.elists.org/mailman/listinfo/twsocket.

> I'm having some trouble using the THttpCli component from the ICS suite.
> I'm using this component to simply download a document off a web site
> (the "document" might be a configuration file or a compressed DLL file
> or whatever). It mostly works but some times it just stops (gets stuck
> in a state - the last OnChangeState message I'm getting is
> httpDnsLookupDone or httpDnsLookup) and then nothing happens. My
> application's GUI doesn't get stuck because Application's message pump
> is working, but the download doesn't finish ether. Or, if something does
> happen, I know nothing about it... Please note I'm using "GetAsync" to
> get my document.

First of all, be sure to use latest ICS version downloaded from /my/ webite,
and even preferably the last beta which contains all fixes since latest
release. Please goto http://www.overbyte.be to download.

> in a state - the last OnChangeState message I'm getting is
> httpDnsLookupDone or httpDnsLookup) and then nothing happens.

Name resolution is done (converting the website hostname to IP address). The
next stage is to connect. It seems that connection doesn't occur whitout
explicit deny from the target website. This may be caused by a target
website which is overflown. You may use a TTimer to implement a timeout
feature and call THttpCli.Abort to make the component stop waiting for the
next thing to do.

If you need more help, /please/ use ICS support mailing list. There is a
team devoted to answering your questions ("TeamICS") and about one hundred
peoples sharing their knowledges.

Thanks.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


----- Original Message ----- 
From: "Cosmin Prund" <[EMAIL PROTECTED]>
To: "'Borland's Delphi Discussion List'" <[email protected]>
Sent: Tuesday, November 07, 2006 4:07 PM
Subject: Help on ICS's HTTP client component


> <NOTE>
> This message is a re-post of a message sent to the delphi-talk list.
> That list seems to be down so I resent the message to this list. (I
> think delphi-talk is down because my message didn't make and no other
> messages made it to the list in November! Check the archives on
> http://www.elists.org/pipermail/delphi/)
> </NOTE>
>
> Hello everyone.
>
> I'm having some trouble using the THttpCli component from the ICS suite.
> I'm using this component to simply download a document off a web site
> (the "document" might be a configuration file or a compressed DLL file
> or whatever). It mostly works but some times it just stops (gets stuck
> in a state - the last OnChangeState message I'm getting is
> httpDnsLookupDone or httpDnsLookup) and then nothing happens. My
> application's GUI doesn't get stuck because Application's message pump
> is working, but the download doesn't finish ether. Or, if something does
> happen, I know nothing about it... Please note I'm using "GetAsync" to
> get my document.
>
> I have posted the unit where all my code resides here:
> http://activari.sediu.ro/mail/UWebUpDown.pas
> Please note: the code will not compile as it requires a few other units,
> but all downloading code is there.
>
> Thanks,
> Cosmin Prund
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to