OSS provides a “start object download from specified point” function. This allows users to spilt large objects into multiple downloads, which improves speed and reliability of downloads. If a download is paused or interrupted, it resumes at the point of interruption once restarted.
Similar to a simple upload, the user must have read permission for the object. Multipart downloads are supported when the Range parameter is set. If the Range parameter is specified in the request header, the returned message contains the length of the entire file and the range returned in this response.
For example, Content-Range: bytes 0-9/44 indicates that the length of the entire file is 44, and the range in the response body is 0–9. If the range requirement is not met, the system transfers the entire file and does not include Content-Range in the result. The return code is 206.
- API: Get Object