An object in the Object Storage can be viewed and downloaded to your local computer. On downloading, the SSE-S3 encryption applied to that object is automatically decrypted before the download process begins. In the case of SSE-C, you need to provide the encryption keys for download. This feature is unavailable in the DCD. You can use the CLI tools, SDK, or API methods to download the objects protected with SSE-C encryption.
You can download objects through one of the following methods:
For large objects, you may not need to download the entire file. You can perform a partial download of objects using the Object Storage API. The API allows you to specify a byte range in your request, enabling you to download only a portion of the object data.
Note: An object's metadata can be viewed directly from the properties page in the DCD or through the API call, providing a quick way to inspect an object's properties without incurring data transfer fees. Data transfer fees apply when you download objects from your Object Storage bucket. For more information, see Pricing Model.
Using the DCD, you can download one object at a time. For downloading multiple objects, consider using CLI tools, SDKs, or REST API.
1. In the DCD, go to Menu > Storage > IONOS Object Storage.
2. From the drop-down list in the Buckets tab, choose either Show user-owned buckets or Show contract-owned buckets depending on the bucket type you want to view.
3. From the Buckets list, choose the bucket from which you want to download the object. The list of objects in the bucket is listed.
4. Choose the object to download and click on the respective object's action menu (three dots). The Download option is also available from the respective object's properties page.
5. Click Download. If an object has been shared through a public URL, click the URL to download the object.
Result: The object is successfully downloaded.
Using the Object Storage API, you can download objects from a bucket.
To download my-object.txt
to a specified file locally:
To download a specified version of the my-object.txt
to a specified file locally:
To download all the objects from the my-bucket
bucket to the local directory my-dir
:
To recursively copy all objects with the /my-dir/
prefix from my-bucket-1
to my-bucket-2
:
To get the object’s metadata without downloading an object:
For more information, see the cp, get-object, and head-object command references.