Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6391763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:43:48+00:00 2026-05-25T03:43:48+00:00

I have Delphi XE. I try to set Request.Range of idHttp but I cannot

  • 0

I have Delphi XE. I try to set Request.Range of idHttp but I cannot do this. Delphi doesn’t allow me to do this neither at design time nor at run time.

E.g. I set '6000-' in a design time -> a property gets empty all time.

I do (in a thread):

Downloader.Request.Range:=(IntToStr(DFileStream.Position) + '-');
synchronize(procedure begin showmessage(Downloader.Request.Range) end); 

showmessage(Downloader.Request.Range) shows me nothing (an empty string).

I checked a request in HTTPAnalyzer -> my program doesn’t send a range.

A checked this behavior in Delphi 2010 – all is normal. I set a range in a design/real time. A result is fine in the both cases.

Does anybody have ideas?

Is this a bug or what?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:43:49+00:00Added an answer on May 25, 2026 at 3:43 am

    The Range property is deprecated instead you must use the the Ranges property.

    Check this sample

    uses
      IdHTTPHeaderInfo; 
    
    var
      Range: TIdEntityRange;
    begin
        Range := FHttp.Request.Ranges.Add;
        Range.StartPos := FRangeFrom;
        Range.EndPos := FRangeTo;
        FHttp.Get(FURL, FileStream);
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using Tperlregex for some time. but today when I try to
I have Turbo delphi for .net, and every time that I try to compile
I need loging all HTTP request (from any application). I have Delphi 7.0. Anybody
I have written a set of Win32 dlls that encapsulate a Delphi Frame (see
I have ZipForge for Delphi XE2 & Delphi XE2. I try to test any
If I try to run Delphi 7, I get this frightening message: Borland license
Using Delphi 2010... I have a set of binary properties I want to group
I have a Delphi application that connects to an oracle database. When I try
I have a delphi function that returns a TStringList, but when I return a
Top post: I have accepted an answer,but it doesn't work for me. I will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.