|Subject:||Re: IdHTTP1.Get question|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Fri, 15 Jul 2005|
"Richard Li" <ljs_19…@hotmail.com> 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()?
IdHTTP1.Get question posted by Richard Li on Fri, 15 Jul 2005