Object Storage Service
Object Storage Service
All results for "
" in this service
All results for "
" in this service
What's New
Function Overview
Product Notices
Service Overview
About OBS
Advantages
Application Scenarios
Functions
Permissions Management
Restrictions and Limitations
Basic Concepts
Objects
Buckets
Parallel File System
Access Keys (AK/SK)
Endpoints and Domain Names
Region and AZ
Change History
Billing
Billing Overview
Billing Items
Storage Space
Requests
Data Transfer
Data Retrievals
Billing in Special Scenarios
Billing Modes
Overview
Pay-per-Use Billing
Yearly/Monthly (Resource Packages)
Resource Package Overview
Resource Package Purchase
Purchase of Additional Resource Packages
Billing Examples
Billing Mode Changes
Renewing Subscriptions
Overview
Manually Renewing a Resource Package
Auto-renewing a Resource Package
Bills
Arrears
Billing Termination
Getting Started
General Process
Step 1: Making Preparations
Step 2: Obtaining Access Keys (AK and SK)
Step 3: Obtaining Endpoints
Step 4: Creating a Bucket
Step 5: Uploading an Object
Step 6: Downloading an Object
Practices
Change History
User Guide
Before You Start
Overview
Using OBS
Accessing OBS
Storage Classes
Bucket Management
Bucket Overview
Creating a Bucket
Listing Buckets
Viewing Bucket Information
Managing Bucket Quotas
Deleting Buckets
Object Management
Object Overview
Uploading Objects
Uploading an Object
Uploading Objects Using a Multipart Upload
Downloading Objects
Managing Folders
Creating a Folder
Other Object Operations
Listing Objects
Copying Objects
Viewing Object Information
Sharing Objects
Managing Object Metadata
Restoring Objects from the Archive Storage
Direct Reading
Deleting Objects
Deleting an Object
Undeleting an Object
Managing Fragments
Permissions Control
Data Management
Lifecycle Management
Tags
Bucket Inventory
Event Notifications
Data Access
Static Website Hosting
Domain Name Management
User-Defined Domain Name Configuration
Data Security
Server-Side Encryption
CORS
Versioning
URL Validation
Monitoring and Logging
Monitoring
Auditing
Logging
Parallel File System
Console Operation Guide
Console Function Overview
Web Browser Compatibility
Getting Started
Process Description
Configuring User Permissions
Logging In to OBS Console
Creating a Bucket
Uploading an Object
Downloading an Object
Deleting an Object
Deleting a Bucket
Managing Buckets
Creating a Bucket
Viewing Basic Information of a Bucket
Searching for a Bucket
Deleting a Bucket
Managing Objects
Uploading an Object
Downloading an Object
Managing Folders
Creating a Folder
Other Object Operations
Listing Objects
Searching for an Object or Folder
Accessing an Object Using Its URL
Sharing an Object
Restoring an Object from Archive Storage
Configuring Direct Reading
Configuring Object Metadata
Deleting Objects
Deleting an Object or Folder
Undeleting an Object
Managing Fragments
Permissions Control
Configuring IAM Permissions
Creating an IAM User and Granting OBS Permissions
OBS Custom Policies
OBS Resources
OBS Request Conditions
Configuring a Bucket Policy
Creating a Bucket Policy with a Template
Creating a Custom Bucket Policy (Visual Editor)
Creating a Custom Bucket Policy (JSON View)
Configuring an Object Policy
Configuring a Bucket ACL
Configuring an Object ACL
Data Management
Configuring a Lifecycle Rule
Configuring Tags for a Bucket
Configuring a Bucket Inventory
Configuring Event Notifications
Configuring SMN-Enabled Event Notification
Application Example: Configuring SMN-Enabled Event Notification
Data Access
Static Website Hosting
Configuring Static Website Hosting
Configuring Redirection
Configuring a User-Defined Domain Name
Data Security
Configuring Server-Side Encryption
Configuring Bucket Server-Side Encryption
Enabling Server-Side Encryption When Uploading an Object
Configuring CORS
Configuring Versioning
Configuring URL Validation
Monitoring and Logging
Monitoring
Monitoring OBS
OBS Monitoring Metrics
Cloud Trace Service
Configuring Access Logging for a Bucket
Task Center
Related Operations
Creating an Agency
Troubleshooting
An Object Fails to Be Downloaded Using Internet Explorer 11
OBS Console Couldn't Be Opened in Internet Explorer 9
The Object Name Changes After an Object with a Long Name Is Downloaded to a Local Computer
Time Difference Is Longer Than 15 Minutes Between the Client and Server
Error Code List
Permissions Configuration Guide
Introduction to OBS Access Control
Permission Control Mechanisms
IAM Permissions
Bucket Policies
ACLs
Access Requests
Accessing OBS Using Permanent Access Keys
Accessing OBS Using Temporary Access Keys
Accessing OBS Using a Temporary URL
Accessing OBS Using an IAM Agency
Typical Permission Control Scenarios
Configuration Cases in Typical Permission Control Scenarios
Granting Permissions to an IAM User Under the Current Account
Granting an IAM User the Permissions Required to List and Create Buckets
Granting an IAM User the Read/Write Permission for a Bucket
Granting an IAM User the Specified Permissions for a Bucket
Granting an IAM User the Read Permission for Specific Objects
Granting an IAM User the Specified Permissions for Certain Objects
Granting Permissions to Multiple IAM Users or User Groups Under the Current Account
Granting IAM User Groups All Permissions for All OBS Resources
Granting IAM User Groups Basic Permissions for All OBS Resources
Granting IAM User Groups the Specified Permissions for All OBS Resources
Granting IAM User Groups the Specified Permissions for Certain OBS Resources
Granting IAM User Groups the Specified Permissions for a Folder
Granting Permissions to Other Accounts
Granting Other Accounts the Read/Write Permission for a Bucket
Granting Other Accounts the Specified Permissions for a Bucket
Granting IAM Users Under an Account the Access to a Bucket and the Resources in It
Granting Other Accounts the Read Permission for Certain Objects
Granting Other Accounts the Specified Permissions for Certain Objects
Granting Permissions to Anonymous Users
Granting Anonymous Users the Public Read Permission for a Bucket
Granting Anonymous Users the Read Permission for a Directory
Granting Anonymous Users the Read Permission for Certain Objects
Temporarily Sharing Objects with Anonymous Users
Granting Temporary Access to OBS
Restricting Access to a Bucket for Specific IP Addresses
Appendix
Bucket Policy Parameters
Relationship Between Bucket Policies and Bucket ACLs
Change History
Feature Guide
Parallel File System
Introduction
About PFS
Application Scenarios
Constraints
Using PFS
Billing
Features
Lifecycle Management
Permissions Configuration
Using PFS on a Console
Creating a Parallel File System
Using PFS with OBS APIs
Compatibility Between OBS APIs and PFS
Change History
Tools Guide
OBS Browser+
Introduction
OBS Browser+ Function Overview
Downloading OBS Browser+
Installing OBS Browser+
Logging In to OBS Browser+
Basic Bucket Operations
Creating a Bucket
Searching for a Bucket
Viewing a Bucket's Basic Information
Managing Fragments
Deleting a Bucket
Advanced Bucket Settings
Bucket ACLs
Overview
Configuring a Bucket ACL
Bucket Policies
Overview
Configuring a Bucket Policy
External Bucket Adding
Overview
Adding an External Bucket
Object Operations
Creating a Folder
Uploading a File or Folder
Searching for a File or Folder
Downloading a File or Folder
Copying a File or Folder
Moving a File or Folder
Deleting a File or Folder
Restoring a File
Task Management
Managing Running and Queued Tasks
Managing Suspended Tasks
Managing Completed Tasks
Managing Tasks Being Restored
Managing Failed Tasks
Best Practices
Drag-and-Drop Upload
Background Running
Auto Upload
Optimizing the Upload and Download Performance
FAQs
Where Can I Obtain Access Keys (AK and SK)?
Where Can I Obtain an IAM User ID?
Can I Install Two OBS Browser+ Tools from Different Sites in One System?
What Are the Differences Between OBS Browser+ and OBS Browser?
Does OBS Browser+ Support the Migration of Account and Task Information From OBS Browser?
Why Does the Task Processing Speed Slow After the Number of Tasks Exceeds a Million?
Why Are the Displayed Number of Objects and Used Storage Capacity Different from the Actual Number of Objects and Storage Capacity?
Why Is the Deliver Attribute in Original Settings Overwritten to False After a Bucket ACL Is Configured on OBS Browser+?
What If "Login request denied." Is Displayed When I Try to Log In to OBS Browser+ Using an Account?
What If "Failed to obtain the user token from IAM." Is Displayed When I Try to Log In to OBS Browser+ Using an Account?
What If Message "Incorrect Account or Password" Is Displayed When I Try to Log In to OBS Browser+ Using an Account?
Will Incremental Upload Be Used in Auto Upload Tasks?
How Can I Locate Common Network Errors?
How Can I Permanently Share Files or Folders with Other Users?
How Can I Access a Specific Bucket or Directory?
Can I Cancel the Directory Sharing After a Directory Has Been Shared with Others?
Can I Query the Number and Size of Files in a Folder?
How Do I Troubleshoot a DNS Resolution Failure?
Can OBS Browser+ List Objects with Special Characters in Their Names?
Uninstalling OBS Browser+
Change History
obsutil
Introduction to obsutil
Downloading and Installing obsutil
Getting Started
Preparing the Environment
Performing the Initial Configuration
Quick Start
Bucket Commands
Creating a Bucket
Listing Buckets
Querying Bucket Properties
Setting Bucket Properties
Deleting a Bucket
Configuring a Bucket Policy
Obtaining a Bucket Policy
Deleting a Bucket Policy
Object Commands
Creating a Folder
Uploading an Object
Querying Object Properties
Setting Object Properties
Listing Objects
Copying an Object
Moving an Object
Downloading an Object
Generating the Download Link of an Object
Deleting an Object
Synchronously Uploading Incremental Objects
Synchronously Copying Incremental Objects
Synchronously Downloading Incremental Objects
Restoring Objects from the Archive Storage
Resuming a Failed Upload Task
Resuming a Failed Copy Task
Resuming a Failed Download Task
Listing Multipart Upload Tasks
Deleting a Multipart Upload Task
Creating an Authorization Code for Directory Sharing
Listing Objects by Using an Authorization Code
Downloading Objects by Using an Authorization Code
Auxiliary Commands
Updating a Configuration File
Deleting Part Records
Viewing Command Help Information
Querying the Version Number
Archiving Log Files
Checking and Updating the Version
Listing Failure Result Files
Common Examples
Upload
Synchronous Upload
Download
Synchronous Download
Copy
Synchronous Copy
Listing
Listing Multipart Upload Tasks
Deleting All Multipart Upload Tasks in a Bucket
Fault Locating
Overview
Log Files
Result Lists
Return Codes
Best Practices
Using the obsutil help Command to Search for Functions
Configuring Scheduled Tasks Using the Crontab Command
Setting obsutil Commands as Built-in Commands
Configuring Auto Obtaining of Access Keys for obsutil
Fine-Tuning obsutil Performance
Using obsutil for Resumable Data Transfer
Using obsutil to Upload a Symbolic Link
Configuring an HTTP Proxy for obsutil
Using obsutil to Share Directories
Using obsutil to Replicate Data Across Regions on the Client Side
Limiting the Upload and Download Rate for obsutil
FAQs
After Some Files Are Deleted in My Local Directory, Can obsutil Synchronously Delete Them from the Bucket?
Can I Use obsutil to Directly Save a Listing Result to a Local File?
Why Is the Size of Objects Queried by obsutil Inconsistent with That on OBS Console?
How Can I Find Out Why Some Tasks in a Batch Task Failed?
How Can I Locate and Rectify I/O Timeout and EOF Errors?
Why Is a Question Mark Displayed in the Batch Task Progress Bar?
Can Multiple config Files Be Placed in One Directory?
Can obsutil List Objects with Special Characters in Their Names?
Why Is the Number of Objects I Downloaded from OBS to My Local Windows PC Different from That in OBS?
Can I Rename an Object or a Folder?
Parameter Description
Change History
Best Practices
Overview
Using Backup Software to Back Up Local Data to OBS
Overview
Using Commvault to Back Up Local Data in SAP HANA
Using a User-Defined Domain Name to Host a Static Website
Overview
Resources and Costs
Static Website Hosting Process
Procedure
Making Preparations
Uploading Static Website Files
Configuring Static Website Hosting
Configuring a User-Defined Domain Name
Creating and Configuring Domain Name Hosting
Verifying the Hosting
(Follow-up Operation) Updating a Static Website
Optimizing the Performance
Using the PostObject API to Upload Data from a Web Client to OBS
Uploading Data from Mobile Apps to OBS
Overview
Using a Temporary Security Credential to Upload Data to OBS
Using a Presigned URL to Upload Data to OBS
Uploading Data from Mini Programs to OBS
Accessing OBS Through an NGINX Reverse Proxy
Using OBS to Decouple Storage from Compute in Big Data Scenarios
Overview
Process
Connecting Big Data Platforms to OBS
Supported Big Data Platforms
Connecting MRS to OBS
Connecting Cloudera CDH to OBS
Connecting Hortonworks HDP to OBS
Connecting OBS to Big Data Components
Supported Big Data Components
Connecting Hadoop to OBS
Connecting Hive to OBS
Connecting Spark to OBS
Connecting Presto to OBS
Connecting Flume to OBS
Connecting DataX to OBS
Connecting Druid to OBS
Connecting Flink to OBS
Connecting Logstash to OBS
Migrating HDFS Data to OBS
Change History
API Reference
Before You Start
Overview
API Calling
Endpoints
Basic Concepts
API Overview
Calling APIs
Constructing a Request
Authentication
User Signature Authentication
Authentication of Signature in a Header
Authentication of Signature in a URL
Authentication of Signature Carried in the Table Uploaded Through a Browser
Returned Values
Getting Started
Creating a Bucket
Listing Buckets
Uploading an Object
APIs
Operations on Buckets
Listing Buckets
Creating a Bucket
Listing Objects in a Bucket
Obtaining Bucket Metadata
Obtaining Bucket Location
Deleting Buckets
Advanced Bucket Settings
Configuring a Bucket Policy
Obtaining Bucket Policy Information
Deleting a Bucket Policy
Configuring a Bucket ACL
Obtaining Bucket ACL Information
Configuring Logging for a Bucket
Obtaining a Bucket Logging Configuration
Configuring Bucket Lifecycle Rules
Obtaining Bucket Lifecycle Configuration
Deleting Lifecycle Rules
Configuring Versioning for a Bucket
Obtaining Bucket Versioning Status
Configuring Storage Class for a Bucket
Obtaining Bucket Storage Class Information
Configuring Tags for a Bucket
Obtaining Bucket Tags
Deleting Tags
Configuring Bucket Storage Quota
Querying Bucket Storage Quota
Obtaining Storage Information of a Bucket
Configuring Bucket Inventories
Obtaining a Specific Inventory of a Bucket
Listing All Inventories of a Bucket
Deleting Bucket Inventories
Configuring Bucket Encryption
Obtaining Bucket Encryption Configuration
Deleting the Encryption Configuration of a Bucket
Setting the Direct Reading Policy for Archive Objects in a Bucket
Obtaining the Direct Reading Policy of Archive Objects in a Bucket
Deleting the Direct Reading Policy of Archive Objects in a Bucket
Static Website Hosting
Configuring Static Website Hosting for a Bucket
Obtaining the Static Website Hosting Configuration of a Bucket
Deleting the Static Website Hosting Configuration of a Bucket
Configuring Bucket CORS
Obtaining the CORS Configuration of a Bucket
Deleting the CORS Configuration of a Bucket
OPTIONS Bucket
OPTIONS Object
Operations on Objects
Uploading an Object - PUT
Uploading an Object - POST
Copying an Object
Downloading an Object
Querying Object Metadata
Deleting an Object
Deleting Objects
Restoring Archive Objects
Appending an Object
Configuring an Object ACL
Obtaining Object ACL Configuration
Modifying Object Metadata
Modifying an Object
Truncating an Object
Renaming an Object
Operations on Multipart Upload
Listing Initiated Multipart Uploads in a Bucket
Initiating a Multipart Upload
Uploading Parts
Copying Parts
Listing Uploaded Parts that Have Not Been Assembled
Completing a Multipart Upload
Canceling a Multipart Upload Task
Server-Side Encryption
Server-Side Encryption Overview
SSE-KMS
SSE-C
API Operations Related to Server-Side Encryption
Error Codes
Permissions and Supported Actions
Introduction
Bucket Actions
Object Actions
Appendixes
Status Codes
Obtaining Access Keys (AK/SK)
Obtaining Account, IAM User, Project, User Group, Region, and Agency Information
Consistency of Concurrent Operations
Change History
SDK Reference
SDK Overview
Python
Before You Start (SDK for Python)
API Overview of OBS SDK for Python
Preparations (SDK for Python)
Downloading and Installing OBS SDK for Python
Getting Started with OBS SDK for Python
Initialization (SDK for Python)
Initializing an Instance of ObsClient (SDK for Python)
Initializing a BucketClient Instance (SDK for Python)
Log Initialization (SDK for Python)
SDK Common Results (SDK for Python)
Bucket-Related APIs (SDK for Python)
Creating a Bucket (SDK for Python)
Obtaining a Bucket List (SDK for Python)
Checking Whether a Bucket Exists (SDK for Python)
Deleting a Bucket (SDK for Python)
Listing Objects in a Bucket (SDK for Python)
Listing Object Versions in a Bucket (SDK for Python)
Obtaining Bucket Metadata (SDK for Python)
Obtaining the Region of a Bucket (SDK for Python)
Obtaining Storage Information of a Bucket (SDK for Python)
Configuring a Storage Quota (SDK for Python)
Obtaining a Bucket Storage Quota (SDK for Python)
Configuring a Storage Class for a Bucket (SDK for Python)
Obtaining the Storage Class of a Bucket (SDK for Python)
Configuring a Bucket ACL (SDK for Python)
Obtaining a Bucket ACL (SDK for Python)
Configuring Logging for a Bucket (SDK for Python)
Obtaining the Logging Configuration of a Bucket (SDK for Python)
Configuring a Bucket Policy (SDK for Python)
Obtaining the Policy of a Bucket (SDK for Python)
Deleting a Bucket Policy (SDK for Python)
Configuring Lifecycle Rules for a Bucket (SDK for Python)
Obtaining the Lifecycle Configuration of a Bucket (SDK for Python)
Deleting the Lifecycle Configuration of a Bucket (SDK for Python)
Configuring Static Website Hosting for a Bucket (SDK for Python)
Obtaining Static Website Hosting for a Bucket (SDK for Python)
Deleting Static Website Hosting for a Bucket (SDK for Python)
Configuring Versioning for a Bucket (SDK for Python)
Obtaining the Versioning Status of a Bucket (SDK for Python)
Configuring CORS for a Bucket (SDK for Python)
Obtaining the CORS Configuration of a Bucket (SDK for Python)
Deleting the CORS Configuration of a Bucket (SDK for Python)
Configuring Tags for a Bucket (SDK for Python)
Obtaining Bucket Tags (SDK for Python)
Deleting Bucket Tags (SDK for Python)
Object-Related APIs (SDK for Python)
Object Upload Overview (SDK for Python)
Uploading Objects - Text-Based (SDK for Python)
Uploading an Object - Streaming (SDK for Python)
Uploading an Object - File-Based (SDK for Python)
Uploading an Object - Append (SDK for Python)
Uploading an Object - Resumable (SDK for Python)
Obtaining the Upload Progress (SDK for Python)
Uploading an Object - Browser-Based (SDK for Python)
Object Download Overview (SDK for Python)
Downloading an Object - Binary (SDK for Python)
Downloading an Object - Streaming (SDK for Python)
Downloading an Object - File-Based (SDK for Python)
Downloading an Object - Range-Based (SDK for Python)
Downloading an Object - Resumable (SDK for Python)
Downloading an Object - Obtaining the Download Progress (SDK for Python)
Uploading an Object - Creating a Folder (SDK for Python)
Copying an Object (SDK for Python)
Deleting an Object (SDK for Python)
Batch Deleting Objects (SDK for Python)
Obtaining Object Metadata (SDK for Python)
Modifying Object Metadata (SDK for Python)
Configuring an Object ACL (SDK for Python)
Obtaining an Object ACL (SDK for Python)
Restoring an Archive Object (SDK for Python)
APIs Related to Multipart Upload (SDK for Python)
Multipart Upload Overview (SDK for Python)
Initiating a Multipart Upload (SDK for Python)
Uploading a Part (SDK for Python)
Listing Uploaded Parts (SDK for Python)
Listing Multipart Uploads (SDK for Python)
Assembling Parts (SDK for Python)
Copying a Part (SDK for Python)
Aborting a Multipart Upload (SDK for Python)
Client-Side Encryption APIs (SDK for Python)
Introduction (SDK for Python)
Client-Side Encryption (SDK for Python)
Other APIs (SDK for Python)
Creating a Signed URL (SDK for Python)
Generating Authentication Parameters for Browser-Based Uploads (SDK for Python)
Server-Side Encryption (SDK for Python)
Static Website Hosting (SDK for Python)
User-defined Header (SDK for Python)
Troubleshooting (SDK for Python)
HTTP Status Codes (SDK for Python)
OBS Server-Side Error Codes (SDK for Python)
Log Analysis (SDK for Python)
FAQs (SDK for Python)
How Do I Make an Object Accessible to Anonymous Users? (SDK for Python)
How Can I Obtain the AK and SK? (SDK for Python)
How Do I Obtain an Object URL? (Python SDK)
How Do I Improve the Uploading Speed of Large Files over the Public Network? (SDK for Python)
Setting an Object Expiration Time (SDK for Python)
What Is Content-Type (MIME)? (Python SDK)
How Do I Get My Account ID and IAM User ID? (SDK for Python)
Java
Before You Start (SDK for Java)
API Overview (SDK for Java)
Preparations (SDK for Java)
SDK Download and Installation (SDK for Java)
Getting Started (SDK for Java)
Initialization (SDK for Java)
Overview (SDK for Java)
Creating and Configuring an OBS Client (SDK for Java)
Configuring SDK Logging (SDK for Java)
Buckets (SDK for Java)
Creating a Bucket (SDK for Java)
Obtaining a Bucket List (SDK for Java)
Deleting a Bucket (SDK for Java)
Checking Whether a Bucket Exists (SDK for Java)
Obtaining Bucket Metadata (SDK for Java)
Configuring a Bucket ACL (SDK for Java)
Obtaining a Bucket ACL (SDK for Java)
Configuring a Bucket Policy (SDK for Java)
Obtaining the Policy of a Bucket (SDK for Java)
Deleting a Bucket Policy (SDK for Java)
Obtaining the Region of a Bucket (SDK for Java)
Obtaining Storage Information of a Bucket (SDK for Java)
Configuring a Storage Quota (SDK for Java)
Obtaining a Bucket Storage Quota (SDK for Java)
Configuring a Storage Class for a Bucket (SDK for Java)
Obtaining the Storage Class of a Bucket (SDK for Java)
Bucket Inventory (SDK for Java)
Configuring an Inventory Rule (SDK for Java)
Obtaining an Inventory Rule (SDK for Java)
Listing Inventory Rules (SDK for Java)
Deleting an Inventory Rule (SDK for Java)
Object Upload (SDK for Java)
Overview (SDK for Java)
Uploading an Object - Streaming (SDK for Java)
Uploading an Object - File-Based (SDK for Java)
Obtaining the Upload Progress (SDK for Java)
Creating a Folder (SDK for Java)
Configuring Object Metadata (SDK for Java)
Multipart Upload (SDK for Java)
Multipart Upload Overview (SDK for Java)
Initiating a Multipart Upload (SDK for Java)
Uploading a Part (SDK for Java)
Assembling Parts (SDK for Java)
Code Example of a Multipart Upload (SDK for Java)
Aborting a Multipart Upload (SDK for Java)
Listing Uploaded Parts (SDK for Java)
Listing Multipart Uploads (SDK for Java)
Configuring Lifecycle Rules (SDK for Java)
Uploading an Object - Append (SDK for Java)
Uploading an Object - Resumable (SDK for Java)
Uploading an Object - Browser-Based (SDK for Java)
Object Download (SDK for Java)
Overview (SDK for Java)
Downloading an Object - Streaming (SDK for Java)
Downloading an Object - Partial (SDK for Java)
Obtaining the Download Progress (SDK for Java)
Downloading an Object - Conditional (SDK for Java)
Rewriting Response Headers (SDK for Java)
Obtaining User-defined Metadata (SDK for Java)
Restoring an Archive Object (SDK for Java)
Downloading an Object - Resumable (SDK for Java)
Object Management (SDK for Java)
Configuring Object Metadata (SDK for Java)
Obtaining Object Metadata (SDK for Java)
Configuring an Object ACL (SDK for Java)
Obtaining an Object ACL (SDK for Java)
Listing Objects (SDK for Java)
Deleting an Object (SDK for Java)
Batch Deleting Objects (SDK for Java)
Copying an Object (SDK for Java)
Copying an Object - Multipart (SDK for Java)
Checking Whether an Object Exists (SDK for Java)
Temporarily Authorized Access (SDK for Java)
Accessing OBS Using a Signed URL (SDK for Java)
Versioning (SDK for Java)
Overview (SDK for Java)
Configuring Versioning for a Bucket (SDK for Java)
Obtaining the Versioning Status of a Bucket (SDK for Java)
Obtaining an Object Version (SDK for Java)
Copying an Object Version (SDK for Java)
Restoring a Specific Archive Object Version (SDK for Java)
Listing Object Versions (SDK for Java)
Setting an ACL for an Object Version (SDK for Java)
Obtaining the ACL of an Object Version (SDK for Java)
Deleting an Object Version (SDK for Java)
Batch Deleting Object Versions (SDK for Java)
Lifecycle Management (SDK for Java)
Overview (SDK for Java)
Setting Lifecycle Rules (SDK for Java)
Obtaining Lifecycle Rules (SDK for Java)
Deleting Lifecycle Rules (SDK for Java)
Cross-Origin Resource Sharing (SDK for Java)
Overview (SDK for Java)
Configuring a CORS Rule (SDK for Java)
Obtaining a CORS Rule (SDK for Java)
Deleting a CORS Rule (SDK for Java)
Logging (SDK for Java)
Overview (SDK for Java)
Configuring Logging for a Bucket (SDK for Java)
Obtaining the Logging Configuration of a Bucket (SDK for Java)
Static Website Hosting (SDK for Java)
Overview (SDK for Java)
Hosting Website Files in a Bucket (SDK for Java)
Configuring Static Website Hosting (SDK for Java)
Obtaining Static Website Hosting Configurations (SDK for Java)
Deleting Static Website Hosting Configurations (SDK for Java)
Bucket Tag Management (SDK for Java)
Overview (SDK for Java)
Configuring Tags for a Bucket (SDK for Java)
Obtaining Bucket Tags (SDK for Java)
Deleting Bucket Tags (SDK for Java)
Server-Side Encryption (SDK for Java)
Overview (SDK for Java)
Server-Side Encryption APIs (SDK for Java)
Code Examples for Server-Side Encryption (SDK for Java)
Client-Side Encryption (SDK for Java)
Overview (SDK for Java)
Client-Side Encryption APIs (SDK for Java)
Fault Locating (SDK for Java)
Methods (SDK for Java)
Resolving Dependency Missing or Conflicts (SDK for Java)
Other Notable Issues (SDK for Java)
Troubleshooting (SDK for Java)
HTTP Status Codes (SDK for Java)
OBS Server-side Error Codes (SDK for Java)
SDK Exceptions (SDK for Java)
SDK Common Response Headers (SDK for Java)
Log Analysis (SDK for Java)
FAQs (SDK for Java)
Can I Use This Document for Union SDK?
How Can I Set an Object to Be Accessible to Anonymous Users? (Java SDK)
What Is the Retry Mechanism of SDK? (Java SDK)
How Do I Obtain the Static Website Access Address of a Bucket? (Java SDK)
How Do I Obtain an Object URL? (Java SDK)
How to Improve the Speed of Uploading Large Files over the Public Network? (Java SDK)
How Do I Stop an Ongoing Upload Task? (Java SDK)
How Can I Perform a Multipart Upload? (Java SDK)
How Can I Perform a Download in Multipart Mode? (Java SDK)
How Do I Confirm that an Upload is Successful If I Upload an Object to Overwrite an Existing Object with the Same Name in a Bucket? (Java SDK)
How Do I Download an Encrypted Object Using a URL? (Java SDK)
How Do I Generate an SSE-C Encryption Key?
How Do I Obtain the Security Token? (Java SDK)
Does the SDK Support Uploading, Downloading, or Copying Objects in a Batch? (Java SDK)
What Is Content-Type (MIME)? (Java SDK)
How Do I Get My Account ID and User ID?
Go
Before You Start (SDK for Go)
API Overview of OBS SDK for Go
Preparations (SDK for Go)
Downloading and Installing OBS SDK for Go
Getting Started with OBS SDK for Go
Initializing OBS SDK for Go
Namespace (SDK for Go)
obsClient Initialization (OBS SDK for Go)
Log Initialization (SDK for Go)
Custom Errors of OBS SDK for Go
Buckets (SDK for Go)
Bucket API Overview (SDK for Go)
Creating a Bucket (SDK for Go)
Obtaining a Bucket List (SDK for Go)
Checking Whether a Bucket Exists (SDK for Go)
Deleting a Bucket (SDK for Go)
Listing Objects in a Bucket (SDK for Go)
Listing Object Versions in a Bucket (SDK for Go)
Obtaining Bucket Metadata (SDK for Go)
Obtaining the Region of a Bucket (SDK for Go)
Obtaining Storage Information of a Bucket (SDK for Go)
Configuring a Storage Quota (SDK for Go)
Obtaining a Bucket Storage Quota (SDK for Go)
Configuring Storage Class for a Bucket (SDK for Go)
Obtaining the Storage Class of a Bucket (SDK for Go)
Configuring a Bucket ACL (SDK for Go)
Obtaining the Bucket ACL (SDK for Go)
Configuring Logging for a Bucket (SDK for Go)
Obtaining the Logging Configuration of a Bucket (SDK for Go)
Configuring a Bucket Policy (SDK for Go)
Obtaining the Policy of a Bucket (SDK for Go)
Deleting a Bucket Policy (SDK for Go)
Configuring Lifecycle Rules for a Bucket (SDK for Go)
Obtaining the Lifecycle Configuration of a Bucket (SDK for Go)
Deleting the Lifecycle Configuration of a Bucket (SDK for Go)
Configuring Static Website Hosting for a Bucket (SDK for Go)
Obtaining the Static Website Hosting Configuration of a Bucket (SDK for Go)
Deleting the Static Website Hosting Configuration of a Bucket (SDK for Go)
Configuring Versioning for a Bucket (SDK for Go)
Obtaining the Versioning Status of a Bucket (SDK for Go)
Configuring CORS for a Bucket (SDK for Go)
Obtaining the CORS Configuration of a Bucket (SDK for Go)
Deleting the CORS Configuration of a Bucket (SDK for Go)
Configuring a Custom Domain Name for a Bucket (SDK for Go)
Obtaining the Custom Domain Name of a Bucket (SDK for Go)
Deleting the Custom Domain Name of a Bucket (SDK for Go)
Objects (SDK for Go)
Object API Overview (SDK for Go)
Object Upload Overview (SDK for Go)
Uploading an Object - Streaming (SDK for Go)
Uploading an Object - File-Based (SDK for Go)
Uploading an Object - Append (SDK for Go)
Uploading an Object - Resumable (SDK for Go)
Object Download Overview (SDK for Go)
Downloading an Object - Streaming (SDK for Go)
Downloading an Object - Range-Based (SDK for Go)
Downloading an Object - Conditional (SDK for Go)
Downloading an Object - Resumable (SDK for Go)
Creating a Folder (SDK for Go)
Copying an Object (SDK for Go)
Deleting an Object (SDK for Go)
Batch Deleting Objects (SDK for Go)
Configuring Object Metadata (SDK for Go)
Obtaining Object Metadata (SDK for Go)
Configuring an Object ACL (SDK for Go)
Obtaining Object ACL Information (SDK for Go)
Rewriting Response Headers (SDK for Go)
Restoring an Archive Object (SDK for Go)
Modifying an Object (SDK for Go)
Multipart Uploads (SDK for Go)
Multipart Upload Overview (SDK for Go)
Initiating a Multipart Upload (SDK for Go)
Uploading a Part (SDK for Go)
Assembling Parts (SDK for Go)
Listing Multipart Uploads (SDK for Go)
Listing Uploaded Parts (SDK for Go)
Copying a Part (SDK for Go)
Aborting a Multipart Upload (SDK for Go)
Other APIs (SDK for Go)
Creating a Signed URL (SDK for Go)
Creating Authentication Parameters for a Browser-based Upload (SDK for Go)
Server-Side Encryption (SDK for Go)
Single-Connection Bandwidth Throttling (SDK for Go)
Troubleshooting (SDK for Go)
OBS Server-Side Error Codes
SDK Custom Errors
Log Analysis
Resources Cannot Be Released
Unmatched Signatures
FAQ (SDK for Go)
How Do I Get My Account ID and User ID?
What Is Content-Type (MIME)?
Android
Installing the SDK
Example Programs
Quick Start
Before You Start
Setting Up an OBS Environment
Preparing a Development Environment
Installing the SDK
Obtaining Endpoints
Initializing an Instance of ObsClient
Creating a Bucket
Uploading an Object
Downloading an Object
Listing Objects
Deleting an Object
General Examples of ObsClient
Initialization
Configuring the AK/SK
Creating an Instance of ObsClient
Configuring an Instance of ObsClient
Configuring SDK Logging
Transparently Transferring the AK and SK
Bucket Management
Creating a Bucket
Listing Buckets
Deleting a Bucket
Identifying Whether a Bucket Exists
Obtaining Bucket Metadata
Managing Bucket ACLs
Managing Bucket Policies
Obtaining a Bucket Location
Obtaining Storage Information About a Bucket
Setting or Obtaining a Bucket Quota
Storage Class
Object Upload
Object Upload Overview
Performing a Streaming Upload
Performing a File-Based Upload
Obtaining Upload Progresses
Creating a Folder
Setting Object Properties
Performing a Multipart Upload
Configuring Lifecycle Management
Performing an Appendable Upload
Performing a Multipart Copy
Performing a Resumable Upload
Performing a Browser-Based Upload
Object Download
Object Download Overview
Performing a Streaming Download
Performing a Partial Download
Obtaining Download Progresses
Performing a Conditioned Download
Rewriting Response Headers
Obtaining Customized Metadata
Downloading an Archive Object
Performing a Resumable Download
Object Management
Setting Object Properties
Obtaining Object Attributes
Managing Object ACLs
Listing Objects
Deleting Objects
Copying an Object
Temporarily Authorized Access
Using a Temporary URL for Authorized Access
Versioning Management
Versioning Overview
Setting Versioning Status for a Bucket
Viewing Versioning Status of a Bucket
Obtaining a Versioning Object
Copying a Versioning Object
Restoring a Specific Archive Object Version
Listing Versioning Objects
Setting or Obtaining a Versioning Object ACL
Deleting Versioning Objects
Lifecycle Management
Lifecycle Management Overview
Setting Lifecycle Rules
Viewing Lifecycle Rules
Deleting Lifecycle Rules
CORS
CORS Overview
Setting CORS Rules
Viewing CORS Rules
Deleting CORS Rules
Access Logging
Logging Overview
Enabling Bucket Logging
Viewing Bucket Logging
Disabling Bucket Logging
Static Website Hosting
Static Website Hosting Overview
Website File Hosting
Setting Website Hosting
Viewing Website Hosting Settings
Deleting Website Hosting Settings
Tag Management
Tagging Overview
Setting Bucket Tags
Viewing Bucket Tags
Deleting Bucket Tags
Server-Side Encryption
Server-Side Encryption Overview
Encryption Description
Example of Encryption
Troubleshooting
OBS Server-Side Error Codes
SDK Custom Exceptions
SDK Common Response Headers
Log Analysis
Lack of Classes
Connection Timeout
Resources Cannot Be Released
Unmatched Signatures
NetworkOnMainThreadException
FAQ
Does the SDK Support Uploading, Downloading, or Copying Objects in a Batch?
C
SDK Download
SDK Compilation
Compatibility
Quick Start
Before You Start
Setting Up an OBS Environment
Initializing the SDK
Initializing option
Creating a Bucket
Uploading an Object
Downloading an Object
Listing Object
Deleting an Object
Initialization
Configuring the AK and SK
SDK Initialization
Configuring option
Configuring SDK Logging
Bucket Management
Creating a Bucket
Listing Buckets
Deleting a Bucket
Checking Whether a Bucket Exists
Managing Bucket ACLs
Obtaining Bucket Storage Information
Bucket Quota
Storage Class
Uploading an Object
Performing a Streaming Upload
Performing a File-Based Upload
Creating a Folder
Setting Object Properties
Performing a Multipart Upload
Performing a Multipart Copy
Performing a Resumable Upload
Performing an Appendable Upload
Downloading an Object
Downloading an Object
Performing a Conditioned Download
Downloading an Archive Object
Performing a Resumable Download
Object Management
Obtaining Object Properties
Managing Object ACLs
Listing Objects
Deleting Objects
Copying an Object
Temporarily Authorized Request
What Is a Temporarily Authorized Request
Temporarily Authorized Request Example
URL for Creating a Bucket
URL for Uploading an Object
URL for Downloading an Object
URL for Listing Objects
URL for Deleting an Object
Accessing OBS Through a User-Defined Domain Name
Configuring a User-Defined Domain Name
Using a User-Defined Domain Name to Access OBS
Versioning Management
Versioning Overview
Setting Versioning Status for a Bucket
Viewing Versioning Status of a Bucket
Obtaining a Versioning Object
Copying a Versioning Object
Restoring a Specific Archive Object Version
Listing Versioning Objects
Setting or Obtaining a Versioning Object ACL
Deleting Versioning Objects
Lifecycle Management
Lifecycle Management Overview
Setting Lifecycle Rules
Viewing Lifecycle Rules
Deleting Lifecycle Rules
Cross-Origin Resource Sharing (CORS)
CORS Overview
Setting CORS Rules
Viewing CORS Rules
Deleting CORS Rules
Setting Access Logging
Logging Overview
Enabling Bucket Logging
Viewing Bucket Logging Configuration
Disabling Bucket Logging
Static Website Hosting
Static Website Hosting Overview
Website File Hosting
Setting Website Hosting
Viewing Website Hosting Settings
Deleting Hosting Settings
Tag Management
Tagging Overview
Setting Bucket Tags
Viewing Bucket Tags
Deleting Bucket Tags
Server-Side Encryption
Server-Side Encryption Overview
Encryption Description
Example of Encryption
Troubleshooting
OBS Server-Side Error Codes
SDK Error Handling
Log Analysis
Unmatched Signatures
HTTP Status Code 405
FAQs
Common Compile Errors
Invalid Proxy Settings
BrowserJS
Before You Start
SDK Download Links
Example Programs
Quick Start
Setting Up an OBS Environment
Preparing a Development Environment
Installing SDK
Obtaining Endpoints
Configuring CORS
Initializing an Instance of ObsClient
Uploading an Object
Downloading an Object
Listing Objects
Deleting an Object
General Examples of ObsClient
Pre-defined Constants
Initialization
Configuring CORS for a Bucket
Configuring the AK and SK
Creating an Instance of ObsClient
Configuring an Instance of ObsClient
Configuring SDK Logging
Fault Locating
Methods
Notable Issues
Bucket Management
Obtaining Bucket Metadata
Identifying Whether a Bucket Exists
Deleting a Bucket
Managing Bucket ACLs
Management Bucket Policies
Obtaining a Bucket Location
Obtaining Storage Information About a Bucket
Setting or Obtaining a Bucket Quota
Storage Class
Object Upload
Object Upload Overview
Performing a Text-Based Upload
Performing a File-Based Upload
Obtaining Upload Progresses
Creating a Folder
Setting Object Properties
Performing a Multipart Upload
Configuring Lifecycle Management
Performing an Appendable Upload
Performing a Multipart Copy
Performing a Resumable Upload
Performing a Browser-Based Upload
Object Download
Object Download Overview
Performing a Text-Based Download
Performing a Binary Download
Performing a File-Based Download
Performing a Partial Download
Obtaining Download Progresses
Performing a Conditioned Download
Rewriting Response Headers
Obtaining Customized Metadata
Downloading an Archive Object
Object Management
Obtaining Object Properties
Managing Object ACLs
Listing Objects
Deleting Objects
Copying an Object
Temporarily Authorized Access
Using a Temporary URL for Authorized Access
Versioning Management
Versioning Overview
Setting Versioning Status for a Bucket
Viewing Versioning Status of a Bucket
Obtaining a Versioning Object
Copying a Versioning Object
Restoring a Specific Archive Object Version
Listing Versioning Objects
Setting or Obtaining a Versioning Object ACL
Deleting Versioning Objects
Lifecycle Management
Lifecycle Management Overview
Setting Lifecycle Rules
Viewing Lifecycle Rules
Deleting Lifecycle Rules
Access Logging
Logging Overview
Enabling Bucket Logging
Viewing Bucket Logging
Disabling Bucket Logging
Static Website Hosting
Static Website Hosting Overview
Website File Hosting
Setting Website Hosting
Viewing Website Hosting Settings
Deleting Website Hosting Settings
Tag Management
Tagging Overview
Setting Bucket Tags
Viewing Bucket Tags
Deleting Bucket Tags
Server-Side Encryption
Server-Side Encryption Overview
Encryption Description
Example of Encryption
Troubleshooting
HTTP Status Codes
OBS Server-Side Error Codes
SDK Common Result Objects
Log Analysis
FAQs
How Do I Upload Files Using a Browser that Does Not Support window.File?
How Can I Set an Object to Be Accessible to Anonymous Users?
How Do I Obtain the Static Website Access Address of a Bucket?
How Do I Obtain an Object URL?
How to Improve the Speed of Uploading Large Files over the Public Network?
How Do I Suspend a Resumable Upload Task?
How Do I Interact with OBS Without Exposing My AK and SK?
How Do I Upload a Base64-Encoded Image?
What Do I Do If the Resumable Upload API Reports a "400 InvalidPart" Error?
API Reference
Change History
iOS
SDK Download Links
Compatibility
Quick Start
Before You Start
Preparing a Development Environment
Installing the SDK
Obtaining Endpoints
Initializing an Instance of OBSClient
Creating a Bucket
Uploading an object
Downloading an Object
Listing Objects
Deleting an Object
General Examples of OBSClient
Initialization
Configuring the AK and SK
Creating an Instance of OBSClient
Configuring an Instance of OBSClient
Bucket Management
Creating a Bucket
Listing Buckets
Deleting a Bucket
Obtaining Bucket Metadata
Managing Bucket ACLs
Obtaining the Location of a Bucket
Managing Bucket Policies
Obtaining Storage Information About a Bucket
Setting or Obtaining a Bucket Quota
Setting or Obtaining the Storage Class of a Bucket
Object Upload
Object Upload Overview
Performing a Streaming Upload
Performing a File-Based Upload
Creating a Folder
Setting Object Properties
Performing a Multipart Upload
Configuring Lifecycle Management
Appendable Upload
Performing a Multipart Copy
Performing a Resumable Upload
Object Download
Object Download Overview
Performing a Streaming Download
Performing a Partial Download
Performing a Conditioned Download
Rewriting Response Headers
Obtaining Customized Metadata
Downloading Object
Performing a Resumable Download
Object Management
Obtaining Object Properties
Managing Object ACLs
Listing Objects
Deleting an Object
Copying an Object
Temporarily Authorized Access
Using a Temporary URL for Authorized Access
Versioning Management
Versioning Overview
Setting Versioning Status for a Bucket
Viewing Versioning Status of a Bucket
Obtaining a Versioning Object
Copying a Versioning Object
Restoring a Specific Object Version
Listing Versioning Objects
Setting or Obtaining a Versioning Object ACL
Deleting Versioning Objects
Lifecycle Management
Lifecycle Management Overview
Setting Lifecycle Rules
Viewing Lifecycle Rules
Deleting Lifecycle Rules
CORS
CORS Overview
Setting CORS Rules
Viewing CORS Rules
Deleting CORS Rules
Access Logging
Logging Overview
Enabling Bucket Logging
Viewing Bucket Logging
Disabling Bucket Logging
Static Website Hosting
Static Website Hosting Overview
Setting Website Hosting
Viewing Hosting Settings
Deleting Hosting Settings
Tag Management
Tagging Overview
Setting Bucket Tags
Viewing Bucket Tags
Deleting Bucket Tags
Server-Side Encryption
Server-Side Encryption Overview
Encryption Description
Example of Encryption
Troubleshooting
OBS Server-Side Error Codes
SDK Custom Exceptions
SDK Common Response Headers
Log Analysis
FAQ
How Do I Obtain a Temporary AK/SK Pair?
What Can I Do to Troubleshoot a Project Packing Error?
API Reference
Change History
PHP
SDK Download Links
Example Programs
Quick Start
Before You Start
Setting Up an OBS Environment
Preparing a Development Environment
Installing the SDK
Importing Dependencies
Initializing an Instance of ObsClient
Creating a Bucket
Uploading an Object
Downloading an Object
Listing Objects
Deleting an Object
General Examples of ObsClient
Pre-defined Constants
Initialization
Configuring the AK and SK
Creating an Instance of ObsClient
Configuring an Instance of ObsClient
Configuring SDK Logging
Asynchronous Method Call
Bucket Management
Creating a Bucket
Listing Buckets
Deleting a Bucket
Identifying Whether a Bucket Exists
Obtaining Bucket Metadata
Managing Bucket ACLs
Managing Bucket Policies
Obtaining a Bucket Location
Obtaining Storage Information About a Bucket
Setting or Obtaining a Bucket Quota
Storage Class
Object Upload
Object Upload Overview
Performing a Text-Based Upload
Performing a Streaming Upload
Performing a File-Based Upload
Creating a Folder
Setting Object Properties
Performing a Multipart Upload
Performing a Multipart Copy
Performing a Browser-Based Upload
Object Download
Object Download Overview
Performing a Text-Based Download
Performing a Streaming Download
Performing a File-Based Download
Performing a Partial Download
Performing a Conditioned Download
Rewriting Response Headers
Obtaining Customized Metadata
Downloading an Archive Object
Object Management
Obtaining Object Properties
Managing Object ACLs
Listing Objects
Deleting Objects
Copying an Object
Temporarily Authorized Access
Using a Temporary URL for Authorized Access
Versioning Management
Versioning Overview
Setting Versioning Status for a Bucket
Viewing Versioning Status of a Bucket
Obtaining a Versioning Object
Copying a Versioning Object
Restoring a Specific Archive Object Version
Listing Versioning Objects
Setting or Obtaining a Versioning Object ACL
Deleting Versioning Objects
Lifecycle Management
Lifecycle Management Overview
Setting Lifecycle Rules
Viewing Lifecycle Rules
Deleting Lifecycle Rules
CORS
CORS Overview
Setting CORS Rules
Viewing CORS Rules
Deleting CORS Rules
Access Logging
Logging Overview
Enabling Bucket Logging
Viewing Bucket Logging Settings
Disabling Bucket Logging
Static Website Hosting
Static Website Hosting Overview
Website File Hosting
Setting Website Hosting
Viewing Website Hosting Settings
Deleting Website Hosting Settings
Tag Management
Tagging Overview
Setting Bucket Tags
Viewing Bucket Tags
Deleting Bucket Tags
Server-Side Encryption
Server-Side Encryption Overview
Encryption Description
Example of Encryption
Troubleshooting
OBS Server-Side Error Codes
SDK Custom Exceptions
SDK Common Result Objects
Log Analysis
Lack of Classes
Connection Timeout
Unmatched Signatures
Time Zone Configuration Failure
FAQs
What Should I Do If the HTTP Status Code 405 Is Reported?
How Do I Resolve "Declaration of xxxx must be compatible with xxxx problem"?
API Reference
Change History
Node.js
Downloading an SDK (SDK for Node.js)
Getting Started (SDK for Node.js)
Before You Start (SDK for Node.js)
Setting Up an OBS Environment (SDK for Node.js)
Preparing a Development Environment (SDK for Node.js)
Installing the SDK (SDK for Node.js)
Initializing an Instance of ObsClient (SDK for Node.js)
Creating a Bucket (SDK for Node.js)
Uploading an Object (SDK for Node.js)
Downloading an Object (SDK for Node.js)
Listing Objects (SDK for Node.js)
Deleting an Object (SDK for Node.js)
General Ways to Use ObsClient (SDK for Node.js)
Initialization (SDK for Node.js)
Configuring Access Keys (SDK for Node.js)
Creating an Instance of ObsClient (SDK for Node.js)
Configuring an Instance of ObsClient (SDK for Node.js)
Configuring SDK Logging (SDK for Node.js)
Bucket Management (SDK for Node.js)
Creating a Bucket (SDK for Node.js)
Listing Buckets (SDK for Node.js)
Checking Whether a Bucket Exists (SDK for Node.js)
Deleting a Bucket (SDK for Node.js)
Obtaining Bucket Metadata (SDK for Node.js)
Configuring a Bucket ACL (SDK for Node.js)
Obtaining a Bucket ACL (SDK for Node.js)
Configuring a Bucket Policy (SDK for Node.js)
Obtaining the Policy of a Bucket (SDK for Node.js)
Deleting a Bucket Policy (SDK for Node.js)
Obtaining the Region of a Bucket (SDK for Node.js)
Obtaining Storage Information of a Bucket (SDK for Node.js)
Configuring a Storage Quota for a Bucket (SDK for Node.js)
Obtaining the Storage Quota of a Bucket (SDK for Node.js)
Configuring a Storage Class for a Bucket (SDK for Node.js)
Obtaining the Storage Class of a Bucket (SDK for Node.js)
Object Upload (SDK for Node.js)
Object Upload Overview (SDK for Node.js)
Uploading an Object - Text-Based (SDK for Node.js)
Uploading an Object - Streaming (SDK for Node.js)
Uploading an Object - File-Based (SDK for Node.js)
Creating a Folder (SDK for Node.js)
Configuring Object Metadata (SDK for Node.js)
Configuring a Lifecycle Rule When Uploading an Object (SDK for Node.js)
Uploading an Object - Append (SDK for Node.js)
Uploading an Object - Resumable (SDK for Node.js)
Uploading an Object - Browser-Based (SDK for Node.js)
Object Download (SDK for Node.js)
Overview (SDK for Node.js)
Downloading an Object - Text-Based (SDK for Node.js)
Downloading an Object - Streaming (SDK for Node.js)
Downloading an Object - File-Based (SDK for Node.js)
Downloading an Object - Range-Based (SDK for Node.js)
Downloading an Object - Conditional (SDK for Node.js)
Rewriting Response Headers (SDK for Node.js)
Downloading an Archive Object (SDK for Node.js)
Downloading an Object - Resumable (SDK for Node.js)
Object Management (SDK for Node.js)
Configuring Object Metadata (SDK for Node.js)
Obtaining Object Metadata (SDK for Node.js)
Configuring an Object ACL (SDK for Node.js)
Obtaining the ACL of an Object (SDK for Node.js)
Listing Objects in a Bucket (SDK for Node.js)
Deleting an Object (SDK for Node.js)
Batch Deleting Objects (SDK for Node.js)
Copying an Object (SDK for Node.js)
Multipart Upload (SDK for Node.js)
Multipart Upload APIs (SDK for Node.js)
Initiating a Multipart Upload (SDK for Node.js)
Uploading a Part (SDK for Node.js)
Assembling Parts (SDK for Node.js)
Listing Uploaded Parts (SDK for Node.js)
Listing Multipart Uploads (SDK for Node.js)
Copying a Part (SDK for Node.js)
Aborting a Multipart Upload (SDK for Node.js)
Temporarily Authorized Access (SDK for Node.js)
Using a Temporary URL for Authorized Access (SDK for Node.js)
Versioning (SDK for Node.js)
Versioning Overview (SDK for Node.js)
Configuring Versioning for a Bucket (SDK for Node.js)
Viewing the Versioning Status of a Bucket (SDK for Node.js)
Obtaining an Object Version (SDK for Node.js)
Copying an Object Version (SDK for Node.js)
Restoring an Archive Object Version (SDK for Node.js)
Listing Object Versions in a Bucket (SDK for Node.js)
Setting an ACL for an Object Version (SDK for Node.js)
Obtaining the ACL of an Object Version (SDK for Node.js)
Deleting an Object Version (SDK for Node.js)
Lifecycle (SDK for Node.js)
Configuring Lifecycle Rules for a Bucket (SDK for Node.js)
Obtaining the Lifecycle Rules of a Bucket (SDK for Node.js)
Deleting the Lifecycle Rules of a Bucket (SDK for Node.js)
Bucket CORS (SDK for Node.js)
Configuring CORS for a Bucket (SDK for Node.js)
Obtaining the CORS Configuration of a Bucket (SDK for Node.js)
Deleting the CORS Configuration of a Bucket (SDK for Node.js)
Logging (SDK for Node.js)
Configuring Logging for a Bucket (SDK for Node.js)
Obtaining the Logging Configuration of a Bucket (SDK for Node.js)
Static Website Hosting (SDK for Node.js)
Overview (SDK for Node.js)
Configuring Static Website Hosting (SDK for Node.js)
Obtaining Static Website Hosting Configurations (SDK for Node.js)
Deleting Website Hosting Settings (SDK for Node.js)
Tagging (SDK for Node.js)
Setting Bucket Tags (SDK for Node.js)
Obtaining Bucket Tags (SDK for Node.js)
Deleting Bucket Tags (SDK for Node.js)
Server-Side Encryption (SDK for Node.js)
Overview (SDK for Node.js)
APIs (SDK for Node.js)
Code Examples (SDK for Node.js)
Troubleshooting (SDK for Node.js)
OBS Server-Side Error Codes (SDK for Node.js)
SDK Common Results (SDK for Node.js)
Log Analysis (SDK for Node.js)
Lack of Modules (SDK for Node.js)
Connection Timeout (SDK for Node.js)
Unmatched Signatures (SDK for Node.js)
FAQs (SDK for Node.js)
How Do I Get My Account ID and User ID? (SDK for Node.js)
What Is Content-Type (MIME)? (SDK for Node.js)
.NET
SDK Download Links
Quick Start
Before You Start
Setting Up an OBS Environment
Preparing a Development Environment
Installing the SDK
Initializing an Instance of ObsClient
Creating a Bucket
Uploading an Object
Downloading an Object
Listing Objects
Deleting an Object
General Examples of ObsClient
Initialization
Configuring the AK/SK
Creating an Instance of ObsClient
Configuring an Instance of ObsClient
Configuring SDK Logging
Bucket Management
Creating a Bucket
Listing Buckets
Deleting a Bucket
Identifying Whether a Bucket Exists
Obtaining Bucket Metadata
Managing Bucket ACLs
Management Bucket Policies
Obtaining a Bucket Location
Obtaining Storage Information About a Bucket
Setting or Obtaining a Bucket Quota
Setting or Obtaining the Storage Class of a Bucket
Object Upload
Object Upload Overview
Performing a Streaming Upload
Performing a File-Based Upload
Performing an Asynchronous Upload
Obtaining Upload Progress
Creating a Folder
Setting Object Properties
Performing a Multipart Upload
Configuring Lifecycle Management
Performing an Appendable Upload
Performing a Multipart Copy
Performing a Resumable Upload
Object Download
Object Download Overview
Performing a Streaming Download
Performing a Partial Download
Performing an Asynchronous Download
Obtaining Download Progress
Performing a Conditioned Download
Rewriting Response Headers
Obtaining Customized Metadata
Downloading an Archive Object
Performing a Resumable Download
Object Management
Obtaining Object Properties
Managing Object ACLs
Listing Objects
Deleting Objects
Copying an Object
HEAD Object
Temporarily Authorized Access
Using a Temporary URL for Authorized Access
Versioning Management
Versioning Overview
Setting Versioning Status for a Bucket
Viewing Versioning Status of a Bucket
Obtaining a Versioning Object
Copying a Versioning Object
Restoring a Specific Archive Object Version
Listing Versioning Objects
Setting or Obtaining a Versioning Object ACL
Deleting Versioning Objects
Lifecycle Management
Lifecycle Management Overview
Setting Lifecycle Rules
Viewing Lifecycle Rules
Deleting Lifecycle Rules
CORS
CORS Overview
Setting CORS Rules
Viewing CORS Rules
Deleting CORS Rules
Access Logging
Logging Overview
Enabling Bucket Logging
Viewing Bucket Logging
Disabling Bucket Logging
Static Website Hosting
Static Website Hosting Overview
Website File Hosting
Setting Website Hosting
Viewing Website Hosting Settings
Deleting Website Hosting Settings
Tag Management
Tagging Overview
Setting Bucket Tags
Viewing Bucket Tags
Deleting Bucket Tags
Server-Side Encryption
Server-Side Encryption Overview
Encryption Description
Example of Encryption
Troubleshooting
OBS Server-Side Error Codes
Log Analysis
Connection Timeout
Unmatched Signatures
SDK Custom Exceptions
SDK Common Response Headers
FAQ
What Do I Do If a Process Is Suspended Occasionally?
Change History
FAQs
OBS Basics
How Can I Get Started with OBS?
What Are the Advantages of Object Storage over SAN and NAS Storage?
Which Types of Data Can Be Stored in OBS?
How Much Data Can I Store in OBS?
Does OBS Support Traffic Monitoring?
Can Folders in OBS Be Used the Same Way as in a File System?
Where Is Data Stored in OBS?
How Can I Determine Which Region to Store My Data In?
Does OBS Support Access over HTTPS?
Can Other Users Access My Data Stored in OBS?
Does OBS Support Resumable Transfer?
Does OBS Support Batch Upload?
Does OBS Support Batch Download?
Does OBS Support Batch Deletion of Objects?
What Are the Factors That Affect Upload and Download Speeds of OBS?
Why Did Some of My Data Stored on OBS Get Lost?
Can Deleted Data Be Recovered?
Will There Be Data Left Over in OBS After I Delete an Object?
What Can I Do If My Access to the OBS Domain Name Failed Due to a CA Certificate Connection Failure?
What Are the Differences Between OBS, EVS, and SFS?
Why Is an Alarm Reported When I Access an OBS URL?
How Do I Determine Whether I Am Accessing OBS over an Intranet?
Will My Bucket Performance Be Affected by Other Users' Services?
Billing
How Do I Purchase OBS?
Why Is OBS Still Unavailable Even Though My Account Is Topped Up and There Are No Outstanding Bills?
Why Does My Bucket Generate Storage Fees Even Though There Are No Objects in It?
Why Am I Still Being Billed for Pull Traffic Used by CDN Acceleration When I Already Have a Pull Traffic Package?
Why Am I Still Being Billed After I Purchased a Resource Package?
What Is a Standard Storage Package (Multi-AZ) Used For?
Do I Need to Purchase an Outbound Internet Traffic Package If I Already Have a Pull Traffic Package?
Why Does My Bucket Generate Traffic When There Are No Objects in It?
How Are Requests Counted?
Do I Have to Purchase a Resource Package? Can I Apply a Package to a Specific Bucket?
Can I Unsubscribe from or Modify a Resource Package?
Can I Purchase Requests?
Do Parallel File Systems Support Resource Packages?
Which Types of Resource Packages Will Reset Their Quota by Month and Which Types Will Not?
Will the Remaining Package Quota in a Given Month Be Carried over to the Following Month?
Will My Data Write Be Restricted When My OBS Package Has Been Used Up?
Why Is There a Charge of $0.01 USD on My OBS Bill?
Access Control
How Can I Control Access to OBS?
What Are the Differences Between Using an IAM Permission and a Bucket Policy in Access Control?
What Is the Relationship Between a Bucket Policy and an Object Policy?
Why Is the Message "Access denied" Still Appearing After OBS System Permissions Were Assigned by IAM?
Why Does Message "Access denied" Appear After I Was Granted the Read and Write Permissions for a Bucket?
Why Can't I Access OBS (403 AccessDenied) After Being Granted with the OBS Access Permission?
How Do I Control Access to Folders in an OBS Bucket?
How Can I Check Whether My Bucket Policy Is Private, Public Read, or Public Read and Write?
Buckets and Objects
Why Am I Unable to Create a Bucket?
Why Am I Unable to Upload an Object?
Why Am I Unable to Download an Object?
Why Can't I Delete a Bucket?
Why Can't I Delete an Object?
What Is the Relationship Between Bucket Storage Classes and Object Storage Classes?
Can I Rename an Object?
Can I Modify the Region of a Bucket?
Can I Edit Objects in OBS Online?
How Do I Obtain the Access Path to an Object?
Why Can't I Search for Certain Objects in My Bucket?
How Do I Preview Objects in OBS in a Browser Online?
What Do I Do If I Encounter an Error While Trying to Access an Object URL with Full-Width Characters Using Internet Explorer?
With CDN Acceleration Enabled, Why Are the Objects in My OBS Bucket Directly Downloaded When I Access Them?
Why Is an Error Reported Even If CORS Has Been Configured?
How Do I Batch Delete a Large Number of Objects from a Bucket or Empty a Bucket?
How Do I Change the Enterprise Project Where My Bucket Belongs?
How Do I Upload Objects Larger Than 5 GB?
APIs and SDKs
What Are the Differences Between PUT and POST Upload Methods?
Failure with OBS SDK in Uploading a File Greater than 5 GB
What Can I Do When Error Message "okhttp3.RequestBody.create(java.lang.String,okhttp3.MediaType)" Is Displayed for Java SDK?
Why Don't the Signatures Match?
Security
How Is Data Security Ensured in OBS?
Does OBS Scan My Data for Other Purposes?
Can Engineers Export My Data from the Background of OBS?
How Does OBS Protect My Data from Being Stolen?
Can a Pair of AK and SK Be Replaced When It Is Being Used to Access OBS?
Can Multiple Users Share One Pair of AK and SK to Access OBS?
Durability and Availability
How Are the Durability and Availability of OBS?
What Redundancy Techniques Does OBS Use?
Data Migration and Backup
How Does OBS Implement Backup and Disaster Recovery?
How Can I Migrate Data Between SFS and OBS?
Fragment Management
Why Are Fragments Generated?
Versioning
Can I Upload Objects with the Same Name to the Same Folder?
Can I Recover a Deleted Object?
Tags
Can I Search for a Bucket by Tag?
What Can I Do with Tags?
How Do I Use Lifecycle Management?
What Are the Application Scenarios of Lifecycle Management?
How Do I Use Static Website Hosting?
Can I Host My Static Websites on OBS?
Which Types of Websites Can I Use OBS to Host?
How Do I Obtain the Static Website Hosting Address of a Bucket?
User-Defined Domain Name Configuration
Why Is the Message "NoSuchBucket" Displayed When I Use a User-Defined Domain Name to Access a Bucket That Can Be Accessed by the OBS Domain Name?
What Is the Relationship Between OBS Bucket Names and Domain Names?
Why Is the CNAME Resolution Status Unknown?
Why Can Only the Domain Names I Bought on Huawei Cloud Be Automatically Resolved?
Monitoring
Why Can't I Find the Statistics on OBS 5XX Status Codes on Cloud Eye?
Server-Side Encryption
How Do I Access or Download an Encrypted Object?
Why Cannot an Authorized Account or User Upload or Download KMS Encrypted Objects?
What Technologies Can I Use to Encrypt Data on OBS?
Will OBS Server-Side Encryption Encrypt My Existing Objects That Are Unencrypted?
Will I Be Billed for the Encryption Provided by OBS Server-Side Encryption?
Does OBS SSE-KMS Allow Anonymous Access?
Change History