Downloading Files
This section describes how to download files from OBS.
API Calling
HiLensEC hilens::DownloadFileFromOBS(const std::string & url, const std::string & downloadTo)
Parameter Description
Parameter |
Description |
---|---|
url |
The URL of the OBS resource you want to download. For details on how to obtain the URL, see Accessing an Object Using Its URL. |
download_to |
The directory where you want to download the file to |
Return Values
If the return value is 0, the operation is successful. Otherwise, the operation fails. For details about the failure response parameters, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot