- Documentation
Torch Object Storage
SDK Reference
Harmony
Object Interface
Download Object
Overview of Downloadable Items (Harmony SDK)
Download Object
Overview of Downloadable Items (Harmony SDK)
Overview of Downloadable Items (Harmony SDK)
TOS Harmony SDK supports object downloads through methods such as direct download and range download. You may select the appropriate download method according to your business requirements and the scenarios in which each method is applicable.
Download Method Instructions
- Conditional Download: The download will proceed only if the specified conditions are met; if not, an exception will be thrown and the download action will not be triggered.
- Range Download: If you do not need to download the entire object and only require a portion of the object's data, you can use range download to download data within the specified range.
When downloading objects, the Harmony SDK supports streaming downloads, with the download object interface returning a Readable stream as the data source for reading.
Last updated: 2025.09.26 19:05:15