Tag: partial download

  • How can I make partial download in Delphi

    To make a partial download in Delphi, you can use the TIdHTTP component from the Indy library. Here is an example of how to use it: uses IdHTTP; var HTTP: TIdHTTP; Stream: TMemoryStream; URL: string; StartPos, EndPos: Int64; begin HTTP := TIdHTTP.Create(nil); try Stream := TMemoryStream.Create; try URL := ‘http://www.example.com/file.zip’; StartPos := 0; EndPos :=…