Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Oct : Re: Indy TIdHTTP vs UrlDownloadToFile
| Subject: | Re: Indy TIdHTTP vs UrlDownloadToFile |
| Posted by: | "Steve" (no.spam@onbox.com) |
| Date: | Thu, 19 Oct 2006 12:59:23 |
Hi,
> Read the description for the error again. It tells you exactly why it is
> occuring:
>
> "A request to send or receive data was disallowed because the socket is
> not connected..."
but why UrlDownloadToFile works and TIdHTTP.Get() doesn't?
I use the same URL and the server isn't fault...
> That is an API error, not an Indy error.
It's the result of GetLastError (inside try/except), at last it's and Indy
error