Updated on 2023-03-16 GMT+08:00
Downloading an Object
Sample code:
GetObjectRequest request = new GetObjectRequest() { BucketName = "bucketname", ObjectKey = "objectname", }; using (GetObjectResponse response = client.GetObject(request)) { //Save the object locally. string dest = "savepath"; if (!File.Exists(dest)) { response.WriteResponseStreamToFile(dest); } }
For more information, see Object Download Overview.
Parent topic: Quick Start
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.