Re: IdHTTP1.Get question

Giganews Newsgroups
Subject: Re: IdHTTP1.Get question
Posted by:  Remy Lebeau (TeamB) (
Date: Fri, 15 Jul 2005

"Richard Li" <ljs_19…> wrote in message

> When I use IdHTTP1.Get to get a partial file from a website,
> It always download the whole file for me. Even I assigned
> IdHTTP1.Request.ContentRangeStart and IdHTTP1.Request.ContentRangeEnd,
> same thing always happens.

That would happen if the server does not support partial downloading to
begin with.  Also, you need to use HTTP v1.1 in order for partial
downloading to work, since HTTP v1.0 does not support it.  Did you set the
ProtocolVersion property to pv1_1 before calling Get()?



In response to

IdHTTP1.Get question posted by Richard Li on Fri, 15 Jul 2005