How Can I Perform a Download in Multipart Mode?
In a multipart download, you can specify the range of data to be downloaded. The procedure is as follows:
- You need to initialize an instance of ObsClient by using AK, SK, and endpoint.
- Specify the bucket name and object name to initialize GetObjectRequest. Call GetObjectRequest.setRangeStart and GetObjectRequest.setRangeEnd to set the start and end points of the object data to be downloaded.
- Call ObsClient.getObject to send the GetObjectRequest request in step 2 to download the data in multipart mode.
For details, see Performing a Partial Download.
Last Article: How Can I Perform a Multipart Upload?
Next Article: How Can I Obtain the AK and SK?
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.