tencent cloud

All product documents
Cloud Object Storage
Quick Experience
Last updated: 2024-01-23 17:15:08
Quick Experience
Last updated: 2024-01-23 17:15:08

Overview

This document describes how to configure your client and run the demo.
All the tools and demos are available in the Github repository.

Setting up your Client

Configuring the client

Modify the file QCloudCOSXMLDemo/QCloudCOSXMLDemo/key.json by adding your APPID, secretID, and secretKey, and then run the following command:
pod install
Note:
Get your APPID, secretID and secretKey from the API Key Management page.
After executing the command, open QCloudCOSXMLDemo.xcworkspace to view the Demo.

Running the demo

Querying a bucket list

Open the example App, and you will see the buckets you have created.

Creating a bucket

Click Create Bucket in the top-right corner to open the configuration page, enter the bucket name and select the bucket region.

Querying an object list

Select a bucket, and enter its details page where you will see all the files and folders in it.

Uploading a file

Click Upload in the top-right corner of the file list page, and select files to upload. You can also set their access permission and upload status.

Downloading or deleting a file

Click a file name, and then click Download or Delete.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon