Partial HTTP Downloads Using the HTTP Component


HTTP/1.1 supports partial downloads, allowing a client to request only a specific portion of a file by specifying the desired byte range using the Range property.

HTTP1.Range = "0-499" 
HTTP1.Get URL 

The Range property format consists of two byte positions separated by a dash (-), such as "0-499".

First 500 bytes 0-499 
Second 500 bytes 500-999 
Final 500 bytes -500

Older versions of IPWorks do not include the Range property. In those cases, use the OtherHeaders property to manually set the Range header, and ensure the HTTPVersion property is set to HTTP/1.1.

We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.