Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : TDownloadURL Hangs
| Subject: | TDownloadURL Hangs |
| Posted by: | "Ken Lange" (lange..@cox.net) |
| Date: | Sun, 20 Jan 2008 10:05:03 |
I am writing an RSS aggregator. and I use TDownloadURL to both download
the feed files and to download the enclosures. I have a batch process
that first checks the feeds for new enclosures and then downloads the
enclosures. I always successfully download the feeds but when I go out
to download the various news podcasts from a the web site of a cable
news channel. I almost always hang on one of those downloads. its never
the same one but always one from this site. I verify that the file
exists before I try to download it so I know it is there. The download
progress event handler is never called so it seems to hang before the
download even starts. Often,if I wait several (5-10) minutes the program
will resume returning a failure for the download, so it kind of seems
like somthing is timeing out , but the time out is way too long for the
user to have to wait, can I either prevent the hang up or reduce the
time out to an appropriate period?