- Descripción general del servicio
- Pasos iniciales
-
Guía del usuario
- Antes de comenzar
- Clases de almacenamiento
- Gestión de buckets
- Gestión de objetos
- Control de permisos
- Gestión de datos
- Acceso a los datos
- Seguridad de datos
- Procesamiento de datos
- Monitoreo y registro
- Sistema de archivos paralelo
-
Guía del usuario
- Descripción de la función de consola
- Compatibilidad del navegador web
- Pasos iniciales
- Storage Classes Overview
- Gestión de bucket
-
Gestión de objetos
- Creación de la carpeta
- Carga de un objeto
- Descarga de un objeto
- Compartir un objeto
- Compartir una carpeta
- Búsqueda de un objeto o una carpeta
- Enumeración de objetos
- Acceso a un objeto mediante su URL
- Restauración de objetos del almacenamiento Archive
- Eliminación de un objeto o una carpeta
- Recuperación de un objeto
- Gestión de fragmentos
- Gestión de paquetes de recursos
- Configuración de encriptación del lado del servidor
- WORM
- Metadatos de objeto
- Inventarios de bucket
-
Control de permisos
- Overview
- Mecanismos de control de permisos
- Bucket Policy Parameters
- Configuración de permisos de IAM
- Configuración de la política de bucket
- Configuración de una política de objeto
- Configuración de la ACL de bucket
- Configuración de una ACL de objeto
-
Application Cases
- Granting an IAM User Permissions to Operate a Specific Bucket
- Granting Other Huawei Cloud Accounts Permissions to Operate a Specific Bucket
- Restricting Access to a Bucket to Specific Addresses
- Limiting the Time When Objects in a Bucket Are Accessible
- Granting Anonymous Users Permission to Access Objects
- Granting Anonymous Users Permission to Access Folders
- Configuración de lectura directa
- Control de versiones
- Registro
- Etiquetas
- Configuración de notificaciones de eventos
- Replicación entre regiones
- Gestión del ciclo de vida
- Configuración de nombres de dominio definidos por el usuario
- Vuelta a la fuente
- Alojamiento de sitio web estático
- Intercambio de recursos entre orígenes
- Validación de URL
- Monitoreo
- Cloud Trace Service
- Configuración de una política de descompresión en línea
- Uso de visualización
- Gestión de tareas
- Operaciones relacionadas
-
Solución de problemas
- Un objeto no se puede descargar mediante Internet Explorer 11
- No se puede abrir OBS Console en Internet Explorer 9
- El nombre del objeto cambia después de que un objeto con un nombre largo se descarga en un equipo local
- Failed to Configure Event Notification
- La diferencia horaria es superior a 15 minutos entre el cliente y el servidor
- Lista de códigos de error
-
Referencia de la API
- Antes de comenzar
- Descripción de las API
- Llamar a APIs
- Pasos iniciales
-
Las API
- Operaciones en buckets
-
Configuración avanzada del bucket
- Configuración de la política de bucket
- Obtención de información sobre la política de bucket
- Eliminación de una política de bucket
- Configuración de la ACL de bucket
- Obtención de información de ACL de bucket
- Configuración del registro de un bucket
- Obtención de una configuración de registro de bucket
- Configuración de reglas del ciclo de vida del bucket
- Obtención de la configuración del ciclo de vida del bucket
- Eliminación de reglas del ciclo de vida
- Configuración del control de versiones para un bucket
- Obtención del estado de control de versiones del bucket
- Configuración de Notificación de Evento para un Bucket
- Obtención de la configuración de notificación de evento de un bucket
- Configuración de la clase de almacenamiento para un bucket
- Obtención de información de clase de almacenamiento de bucket
- Configuración de la replicación entre regiones para un bucket
- Obtención de la configuración de replicación entre regiones de un bucket
- Eliminación de la configuración de replicación entre regiones de un bucket
- Configuración de etiquetas para un bucket
- Obtención de etiquetas de bucket
- Eliminación de etiquetas
- Configuración de la cuota de almacenamiento de bucket
- Consulta de la cuota de almacenamiento de bucket
- Obtención de información de almacenamiento de un bucket
- Configuración de inventarios de bucket
- Obtención de inventarios de bucket
- Listado de inventarios de bucket
- Eliminación de inventarios de bucket
- Configuración de un nombre de dominio personalizado para un bucket
- Obtención del nombre de dominio personalizado de un bucket
- Eliminación del nombre de dominio personalizado de un bucket.
- Configuración de la encriptación de bucket
- Obtención de la configuración de la encriptación de bucket
- Eliminación de la configuración de la encriptación de bucket
- Configuración de la política de lectura directa para objetos de Archive en un bucket
- Obtención de la política de lectura directa de objetos de Archive en un bucket
- Eliminación de la política de lectura directa para objetos de Archive en un bucket
- Configuración de reglas de vuelta a la fuente de duplicación
- Obtención de reglas de vuelta a la fuente de duplicación
- Eliminación de reglas de vuelta a la fuente de duplicación
- Setting an Online Decompression Policy
- Obtaining an Online Decompression Policy
- Deleting an Online Decompression Policy
- Configuring a Default WORM Policy for a Bucket
- Obtaining the Default WORM Policy of a Bucket
-
Alojamiento de sitio web estático
- Configuración de alojamiento estático de sitios web para un bucket
- Obtención de la configuración de alojamiento de sitios web estáticos de un bucket
- Eliminación de la configuración de alojamiento de sitios web estáticos de un bucket
- Configuración de Bucket CORS
- Obtención de la configuración CORS de un bucket
- Eliminación de la configuración CORS de un bucket
- Bucket de OPTIONS
- Objeto de OPTIONS
-
Operaciones en objetos
- Carga de objetos - PUT
- Carga de objetos - POST
- Copia de objetos
- Descarga de objetos
- Consulta de metadatos de objetos
- Eliminación de un objeto
- Eliminación de objetos
- Restauración de objetos de Archive
- Adición de un objeto
- Configuración de una ACL de objeto
- Obtención de la configuración de ACL de objetos
- Modificación de metadatos de objetos
- Modificación de un objeto
- Truncamiento de un objeto
- Cambio de nombre de un objeto
- Configuring WORM Retention for an Object
- Operaciones en carga multiparte
- Encriptación del lado del servidor
- Códigos de error
- Permisos y acciones soportadas
- Apéndices
-
Preguntas frecuentes
-
Introducción a OBS
- ¿Cómo puedo empezar a usar OBS?
- ¿Cómo obtengo un punto de conexión de OBS?
- ¿Cuáles son las ventajas del almacenamiento de objetos en comparación con el almacenamiento de SAN y de NAS?
- ¿Qué tipos de datos se pueden almacenar en OBS?
- ¿Cuánto dato puedo almacenar en OBS?
- ¿OBS soporta el monitoreo de tráfico?
- ¿Se pueden usar las carpetas en OBS de la misma manera que en un sistema de archivos?
- ¿Dónde se almacenan los datos en OBS?
- ¿Cómo puedo determinar en qué región almacenar mis datos?
- ¿OBS admite el acceso con HTTPS?
- ¿Pueden otros usuarios acceder a mis datos almacenados en OBS?
- ¿OBS admite la transferencia reanudable?
- ¿OBS soporta la carga por lotes?
- ¿OBS admite la descarga por lotes?
- ¿OBS admite la eliminación por lotes de objetos?
- ¿Cuáles son los factores que afectan la velocidad de carga y descarga de OBS?
- ¿Por qué se perdieron algunos mis datos almacenados en OBS?
- ¿Se pueden recuperar datos eliminados?
- ¿Habrá datos sobrantes en OBS después de eliminar un objeto?
- ¿Qué puedo hacer si mi acceso al nombre de dominio de OBS falló debido a un error de conexión de certificado de CA?
- ¿Cuáles son las diferencias entre OBS, EVS y SFS?
- ¿Por qué se reporta una alarma cuando accedo a un URL de OBS?
- ¿Cómo puedo determinar si estoy accediendo a OBS por una intranet?
- ¿El rendimiento de mi bucket se verá afectado por los servicios de otros usuarios?
-
Facturación
- ¿Cómo compro un OBS?
- ¿Por qué OBS aún no está disponible aunque mi cuenta esté recargada y no haya facturas pendientes?
- ¿Por qué mi bucket genera tarifas de almacenamiento aunque no hay objetos en él?
- ¿Por qué todavía me están facturando por el tráfico de extracción utilizado por la aceleración de CDN cuando ya tengo un paquete del tráfico de extracción?
- ¿Por qué me siguen facturando después de comprar un paquete de recursos?
- ¿Para qué se utiliza un paquete de almacenamiento Standard (AZ múltiples)?
- ¿Necesito comprar un paquete de tráfico de Internet saliente si ya tengo un paquete de tráfico de extracción?
- ¿Por qué mi bucket genera tráfico cuando no hay objetos en él?
- ¿Cómo se cuentan las solicitudes?
- ¿Tengo que comprar un paquete de recursos? ¿Puedo aplicar un paquete a un bucket específico?
- ¿Puedo cancelar la suscripción o modificar un paquete de recursos?
- ¿Puedo comprar la solicitud?
- ¿Los sistemas de archivos paralelos admiten paquetes de recursos?
- ¿Qué tipos de paquetes de recursos restablecerán su cuota por mes y qué tipos no?
- ¿La cuota de paquete restante en un mes determinado se llevará al mes siguiente?
- ¿Qué puedo hacer si mi paquete de recursos caduca?
- ¿Se restringirá la escritura de mis datos cuando se haya agotado mi paquete de OBS?
- ¿Por qué hay un cargo de $0.01 USD en mi factura de OBS?
-
Control de acceso
- ¿Cómo puedo controlar el acceso a OBS?
- ¿Cuáles son las diferencias entre el uso de un permiso de IAM y una política de bucket en el control de acceso?
- ¿Cuál es la relación entre una política de bucket y una política de objeto?
- ¿Por qué sigue apareciendo el mensaje "Access denied" después de que IAM asignara los permisos del sistema de OBS?
- ¿Por qué aparece el mensaje "Access denied" después de que se me otorgaron los permisos de lectura y escritura para un bucket?
- ¿Por qué no puedo acceder a OBS (403 AccessDenied) después de recibir el permiso de acceso de OBS?
-
Buckets y objetos
- ¿Por qué no puedo crear un bucket?
- ¿Por qué no puedo cargar un objeto?
- ¿Por qué no puedo descargar un objeto?
- ¿Por qué no puedo eliminar un bucket?
- ¿Por qué no puedo acceder a un objeto con su URL?
- ¿Cuál es la relación entre las clases de almacenamiento de bucket y las clases de almacenamiento de objetos?
- ¿Puedo cambiar el nombre de un objeto?
- ¿Puedo modificar la región de un bucket?
- ¿Puedo copiar un archivo entre los buckets?
- ¿Puedo mover un archivo entre los bucket?
- ¿Puedo editar objetos en OBS en línea?
- ¿Cómo obtengo la ruta de acceso a un objeto?
- ¿Por qué no puedo buscar ciertos objetos en mi bucket?
- ¿Cómo previsualizo objetos en OBS en un navegador en línea?
- ¿Qué debo hacer si se muestra un mensaje de error cuando uso Internet Explorer para acceder a un URL de objeto que contiene los caracteres chinos?
- Con la aceleración de CDN activada, ¿por qué se descargan directamente los objetos de mi bucket de OBS cuando accedo a ellos?
- ¿Cómo puedo eliminar por lotes un gran número de objetos desde un bucket o vaciar un bucket?
-
Herramientas
- Al descargar una carpeta usando obsutil, la velocidad de descarga se ralentiza después de que el progreso de descarga de la carpeta alcanza el 90 %
- Con obsutil, la descarga de un archivo falla después de que el progreso de descarga alcanza el 99 %
- Carga y descarga lenta a través de obsutil
- ¿Cómo uso el comando de obsutil cp para habilitar la carga, descarga o replicación incremental?
- ¿Puedo montar mi sistema de archivos paralelo en un servidor de Windows?
-
API y SDK
- ¿Cuáles son las diferencias entre los métodos de carga de PUT y de POST?
- Error con el SDK de OBS al cargar un archivo superior a 5 GB
- ¿Qué puedo hacer cuando se muestra el mensaje de error "okhttp3.RequestBody.create(java.lang.String,okhttp3.MediaType)" para el SDK de Java?
- ¿Una carga anexada admite el mecanismo de bloqueo para operaciones simultáneas?
- ¿Por qué no coinciden las firmas?
-
Seguridad
- ¿Cómo se asegura la seguridad de los datos en OBS?
- ¿OBS escanea mis datos para otros propósitos?
- ¿Pueden los ingenieros exportar mis datos desde el fondo de OBS?
- ¿Cómo protege OBS mis datos de ser robados?
- ¿Se puede reemplazar un par de AK y SK cuando se utiliza para acceder a OBS?
- ¿Pueden varios usuarios compartir un par de AK y SK para acceder a OBS?
- ¿Puedo recuperar datos de OBS después de que se eliminen o se sobrescriben?
- Durabilidad y disponibilidad
- Migración y copia de respaldo de datos
- ¿Cómo uso la gestión de fragmentos?
- ¿Cómo uso el control de versiones?
- ¿Cómo uso las etiquetas?
- Notificación de evento
- ¿Cómo uso la gestión del ciclo de vida?
- ¿Cómo uso el alojamiento de sitio web estático?
- ¿Cómo uso la replicación entre regiones?
- ¿Cómo gestiono los nombres de dominio?
- Monitoreo
-
Encriptación del lado del servidor
- ¿OBS admite la carga cifrada?
- ¿Cómo puedo acceder o descargar un objeto encriptado?
- ¿Por qué una cuenta autorizada o usuario no puede cargar o descargar objetos cifrados de KMS?
- ¿Qué tecnologías de cifrado puedo utilizar para cifrar datos en OBS?
- ¿Encriptación del lado del servidor de OBS cifrará mis objetos existentes que no están cifrados?
- ¿Se me facturará la encriptación proporcionada por la encriptación del lado del servidor de OBS?
- ¿OBS SSE-KMS permite el acceso anónimo?
- ¿Se requieren permisos adicionales cuando comparto un objeto con SSE-OBS encriptado?
-
Introducción a OBS
- Actualmente, el contenido no está disponible en el idioma seleccionado. Sugerimos consultar la versión en inglés.
- What's New
- Function Overview
- Product Notices
- Billing
-
Permissions Configuration Guide
- Differences Between OBS Permissions Control Methods
- OBS Access Control at a Glance
- Permission Control Methods
- Access Requests
-
Permission Configuration in Typical Scenarios
- Typical Permissions Scenarios
-
Granting Permissions to an IAM User Under the Current Account
- Granting an IAM User the Permissions to Create and List Buckets
- Granting an IAM User the Read/Write Permission on a Bucket
- Granting an IAM User the Specified Permissions for a Bucket
- Granting an IAM User the Read Permissions on Specific Objects
- Granting an IAM User the Specified Permissions on Specified 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 All Accounts
- Granting Temporary Access to OBS
- Allowing IAM Users to View Only Authorized Buckets
- Restricting Access to a Bucket for Specific IP Addresses
- Best Practices for Enterprise Data Access Control
- FAQs
- Appendix
-
Tools Guide
- OBS Tools
-
OBS Browser+
- Introduction
- OBS Browser+ Function Overview
- Downloading OBS Browser+
- Installing OBS Browser+
- Logging In to OBS Browser+
- Basic Bucket Operations
- Advanced Bucket Settings
- Object Operations
- Task Management
- Best Practices
-
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 Configured Using an SDK Overwritten to False After I Configure a Bucket ACL 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 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?
- Why Are Objects Always in the Restoring State?
- Uninstalling OBS Browser+
- Change History
-
obsutil
- obsutil Introduction
- Downloading and Installing obsutil
- Getting Started
- Bucket Commands
-
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
- Common Examples
- Fault Locating
-
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?
- 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?
- Configuration Parameters
- obsfs (abandoned)
-
Best Practices
- Overview
- Uploading Data to OBS
- Migrating Data to OBS
- Accessing Data Stored in OBS
- Using a User-Defined Domain Name to Host a Static Website
- Verifying Data Consistency
- Suggestions on OBS Security Configuration
- Suggestions on OBS Performance Optimization
- Using OBS to Decouple Storage from Compute in Big Data Scenarios
- Using s3fs to Mount an OBS Bucket
-
SDK Reference
- SDK Overview
- SDK Function Matrices
-
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)
-
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)
- Other APIs (SDK for Python)
- Troubleshooting (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)
- How Do I Specify Content-SHA256? (SDK for Python)
- Why Does the SDK Source Code Contain acs.amazonaws.com? (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)
-
Bucket Management (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)
- Parallel File System Management (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 - Range-Based (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)
- Downloading a Processed Image (SDK for Java)
- Creating a Signed URL for Downloading a Processed Image (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)
-
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)
- Cross-Origin Resource Sharing (SDK for Java)
- Logging (SDK for Java)
- Static Website Hosting (SDK for Java)
- Bucket Tag Management (SDK for Java)
- Server-Side Encryption (SDK for Java)
- Client-Side Encryption (SDK for Java)
- Fault Locating (SDK for Java)
- Troubleshooting (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? (SDK for Java)
- 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? (SDK for Java)
- How Can I Perform a Multipart Upload? (SDK for Java)
- 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? (SDK for Java)
- How Do I Download an Encrypted Object Using a URL? (SDK for Java)
- 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)
- How Do I Specify Content-SHA256?
- Why Does the SDK Source Code Contain acs.amazonaws.com? (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
-
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 Tags for a Bucket (SDK for Go)
- Obtaining Bucket Tags (SDK for Go)
- Deleting Bucket Tags (SDK for Go)
- Configuring Bucket Encryption (SDK for Go)
- Obtaining the Bucket Encryption Configuration (SDK for Go)
- Deleting the Bucket Encryption Configuration (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)
- Parallel File System APIs (SDK for Go)
-
Objects (SDK for Go)
- Object API Overview (SDK for Go)
- Object Upload Overview (SDK for Go)
- Object Download Overview (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)
- Processing an Image (SDK for Go)
- Restoring an Archive Object (SDK for Go)
- Modifying an Object (SDK for Go)
- Multipart Uploads (SDK for Go)
- Other APIs (SDK for Go)
- Single-Connection Bandwidth Throttling (SDK for Go)
- Troubleshooting (SDK for Go)
- FAQ (SDK for Go)
-
Android
- Installing the SDK
- Example Programs
- Quick Start
- Initialization
- Bucket Management
-
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 Management
- Temporarily Authorized Access
- Versioning Management
- Lifecycle Management
- CORS
- Access Logging
- Static Website Hosting
- Tag Management
- Server-Side Encryption
- Troubleshooting
- FAQ
- API Reference
-
C
- Before You Start
- Downloading and Installing the SDK
- Quick Start
- Initialization
- Bucket Management
- Uploading an Object
- Downloading an Object
- Object Management
- Temporarily Authorized Request
- Accessing OBS Through a User-Defined Domain Name
- Versioning Management
- Lifecycle Management
- Cross-Origin Resource Sharing (CORS)
- Setting Access Logging
- Static Website Hosting
- Tag Management
- Server-Side Encryption
- Troubleshooting
- FAQs
-
BrowserJS
- Before You Start
- SDK Download Links
- Example Programs
- Quick Start
- Initialization
- Fault Locating
- Bucket Management
-
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
- Processing an Image
- Object Management
- Temporarily Authorized Access
- Versioning Management
- Lifecycle Management
- Access Logging
- Static Website Hosting
- Tag Management
- Server-Side Encryption
- Troubleshooting
-
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?
-
iOS
- SDK Download Links
- Compatibility
- Quick Start
- Initialization
- Bucket Management
-
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
- Pausing and Resuming/Aborting a Resumable Upload
- Object Download
- Object Management
- Temporarily Authorized Access
- Versioning Management
- Lifecycle Management
- CORS
- Access Logging
- Static Website Hosting
- Tag Management
- Server-Side Encryption
- Troubleshooting
- FAQ
- API Reference
-
PHP
- SDK Download Links
- 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
- Pre-defined Constants
- Initialization
- Bucket Management
- Object Upload
- Object Download
- Object Management
- Temporarily Authorized Access
- Versioning Management
- Lifecycle Management
- CORS
- Access Logging
- Static Website Hosting
- Tag Management
- Server-Side Encryption
- Troubleshooting
- FAQs
-
Node.js
- Downloading an SDK (SDK for Node.js)
- Example Programs (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)
- Obtaining Endpoints (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)
-
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)
- Processing an Image (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)
-
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)
- Bucket CORS (SDK for Node.js)
- Logging (SDK for Node.js)
- Static Website Hosting (SDK for Node.js)
- Tagging (SDK for Node.js)
- Server-Side Encryption (SDK for Node.js)
- Troubleshooting (SDK for Node.js)
- FAQs (SDK for Node.js)
-
.NET
- Before You Start
- SDK Download Links
- Example Programs
- Quick Start
- Initialization
-
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 Custom Metadata
- Downloading an Archive Object
- Performing a Resumable Download
- Processing an Image
- Object Management
- Temporarily Authorized Access
- Versioning Management
- Lifecycle Management
- CORS
- Access Logging
- Static Website Hosting
- Tag Management
- Server-Side Encryption
- Troubleshooting
- FAQ
- Videos
- Glossary
-
More Documents
-
User Guide (ME-Abu Dhabi Region)
- Service Overview
- Billing
-
OBS Console Operation Guide
- Console Function Overview
- Restrictions
- Getting Started
- Storage Classes Overview
- Managing Buckets
- Managing Objects
- Server-Side Encryption
- Object Metadata
-
Permission Control
- Overview
- Permission Control Mechanisms
- Bucket Policy Parameters
- Configuring IAM Policies
- Configuring a Bucket Policy
- Configuring an Object Policy
- Configuring a Bucket ACL
- Configuring an Object ACL
-
Application Cases
- Granting an IAM User with the Operation Permissions for a Specified Bucket
- Granting Other Accounts with the Operation Permissions for a Specified Bucket
- Restricting Bucket Access to a Specified Address
- Configuring the Start Time and End Time of Access to Objects in a Bucket
- Authorizing Access Permissions to Anonymous Users
- Authorizing Folder Access Permissions to Anonymous Users
- Versioning
- Logging
- Tags
- Event Notification
- Lifecycle Management
- User-Defined Domain Name Binding
- Static Website Hosting
- CORS
- URL Validation
- Monitoring
- Related Operations
-
Troubleshooting
- An Object Fails to Be Downloaded Using Internet Explorer 11
- OBS Console Cannot Be Opened in Internet Explorer 9
- The Object Name Changes After an Object with a Long Name Is Downloaded to a Local Computer
- Failed to Configure Event Notification
- Time Difference Is Longer Than 15 Minutes Between the Client and Server
- Error Code List
-
FAQs
-
OBS Basics
- How Can I Get Started Using 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?
- What Is the Relationship Between OBS Bucket Names and OBS Domain Names?
- Does OBS Support Access over HTTPS?
- Can Other Users Access My Data Stored in OBS?
- Does OBS Support Resumable Data Transfer?
- Does OBS Support Batch Upload?
- Does OBS Support Batch Download?
- Does OBS Support Batch Deletion of Objects?
- What Are Factors that Affect the Upload and Download Speed 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?
- Access Control
-
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?
- What Is the Relationship Between Bucket Storage Classes and Object Storage Classes?
- Can I Modify the Region of a Bucket?
- How Do I Obtain the Access Path to an Object?
- Why Can't I Find Certain Objects in a Bucket When I Searched for Them?
-
Security
- How Is Data Security Ensured in OBS?
- Does OBS Scan My Data for Other Purposes?
- Can Background Engineers Export My Data from OBS?
- How Does OBS Prevent My Data from Being Stolen?
- Can a Pair of AK and SK Be Replaced When They Are Being Used to Access OBS?
- Can a Pair of AK and SK Be Used by Multiple Users to Access OBS?
- Which Encryption Technologies Are Supported by OBS?
- How Do I Use Fragment Management?
- How Do I Use Versioning?
- How Do I Use Tags?
- Event Notification
- How Do I Use Lifecycle Management?
- How Do I Use Static Website Hosting?
-
OBS Basics
- Change History
-
API Reference (ME-Abu Dhabi Region)
- Before You Start
- API Overview
- Calling APIs
- Getting Started
-
APIs
- Operations on 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 Event Notification for a Bucket
- Obtaining the Event Notification Configuration of a Bucket
- 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 a Custom Domain Name for a Bucket
- Obtaining the Custom Domain Name of a Bucket
- Deleting the Custom Domain Name of a Bucket
- Configuring Bucket Encryption
- Obtaining Bucket Encryption Configuration
- Deleting the Encryption Configuration of a Bucket
- Configuring a DIS-Enabled Notification Policy
- Obtaining a DIS-Enabled Notification Policy
- Deleting a DIS-Enabled Notification Policy
- Configuring a Default WORM Policy for a Bucket
- Obtaining the Default WORM Policy of 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 Objects - PUT
- Uploading Objects - POST
- Copying Objects
- Downloading an Object
- Querying Object Metadata
- Deleting an Object
- Deleting Objects
- Restoring Cold Objects
- Appending an Object
- Configuring an Object ACL
- Obtaining Object ACL Configuration
- Modifying Object Metadata
- Modifying an Object
- Truncating an Object
- Renaming an Object
- Configuring WORM Retention for an Object
- Operations on Multipart Upload
- Server-Side Encryption
- Error Codes
- IAM Policies and Supported Actions
- Appendixes
- Change History
-
Tool Guide (OBS Browser+) (ME-Abu Dhabi Region)
- Introduction
- OBS Browser+ Function Overview
- Downloading OBS Browser+
- Installing OBS Browser+
- Logging In to OBS Browser+
-
FAQs
- Where Can I Obtain Access Keys (AK and SK)?
- Can I Install Two OBS Browser+ Tools from Different Sites in One System?
- 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?
- 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 on OBS Browser+?
- Uninstalling OBS Browser+
- Change History
- Tool Guide (obsfs) (ME-Abu Dhabi Region)
-
Tool Guide (obsutil) (ME-Abu Dhabi Region)
- obsutil Introduction
- Downloading and Installing obsutil
- Getting Started
- Bucket Commands
-
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 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
- Auxiliary Commands
- Common Examples
- Fault Locating
-
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
- 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 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 I Rename an Object or a Folder?
- Configuration Parameters
- Change History
- Parallel File System Feature Guide(ME-Abu Dhabi Region)
-
User Guide (Paris Region)
- Service Overview
-
OBS Console Operation Guide
- Console Function Overview
- Restrictions
- Getting Started
- Storage Classes Overview
- Managing Buckets
- Managing Objects
- Server-Side Encryption
- Object Metadata
-
Permissions Control
- Overview
- Permission Control Mechanisms
- Bucket Policy Parameters
- Configuring IAM Policies
- Configuring a Bucket Policy
- Configuring an Object Policy
- Configuring a Bucket ACL
- Configuring an Object ACL
-
Application Cases
- Granting an IAM User Permissions to Operate a Specific Bucket
- Granting Other Accounts Permissions to Operate a Specific Bucket
- Restricting Access to a Bucket for Specific Addresses
- Limiting the Time When Objects in a Bucket Are Accessible
- Granting Anonymous Users Permission to Access Objects
- Granting Anonymous Users Permission to Access Folders
- Versioning
- Logging
- Event Notifications
- Cross-Region Replication
- Lifecycle Management
- Configuring User-Defined Domain Names
- Static Website Hosting
- Cross-Origin Resource Sharing
- URL Validation
- Monitoring
- Related Operations
-
Troubleshooting
- An Object Fails to Be Downloaded Using Internet Explorer 11
- OBS Console Cannot Be Opened in Internet Explorer 9
- The Object Name Changes After an Object with a Long Name Is Downloaded to a Local Computer
- Failed to Configure Event Notifications
- Time Difference Is Longer Than 15 Minutes Between the Client and Server
- Error Code List
-
FAQ
-
OBS Basics
- How Can I Get Started with OBS?
- How Do I Obtain an OBS Endpoint?
- 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?
- 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 Speed 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?
- Will My Bucket Performance Be Affected by Other Users' Services?
- Access Control
-
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?
- What Is the Relationship Between Bucket Storage Classes and Object Storage Classes?
- Can I Modify the Region of a Bucket?
- How Do I Obtain the Access Path to an Object?
- Why Can't I Search for Certain Objects in My Bucket?
- What Should I Do If an Error Message Is Displayed When I Use Internet Explorer to Access an Object URL That Contains Chinese Characters?
- Tools
- APIs and SDKs
-
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?
- How Do I Use Fragment Management?
- How Do I Use Versioning?
- Event Notification
- How Do I Use Lifecycle Management?
- How Do I Use Static Website Hosting?
- How Do I Use Cross-Region Replication?
- Server-Side Encryption
-
OBS Basics
- Change History
-
Tool Guide (OBS Browser+) (Paris Region)
- Introduction
- OBS Browser+ Function Overview
- Downloading OBS Browser+
- Installing OBS Browser+
- Logging In to OBS Browser+
-
FAQs
- Where Can I Obtain Access Keys (AK and SK)?
- 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?
- 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 OBS Browser+ List Objects with Special Characters in Their Names?
- Uninstalling OBS Browser+
- Change History
- Tool Guide (obsfs) (Paris Region)
-
Tool Guide (obsutil) (Paris Region)
- obsutil Introduction
- Downloading and Installing obsutil
- Getting Started
- Bucket Commands
-
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 Cold 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
- Common Examples
- Fault Locating
-
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
- 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 I Rename an Object or a Folder?
- Configuration Parameters
- Change History
- Parallel File System Feature Guide(Paris Region)
-
Image Processing (Paris Region)
- Introduction
- Start to Process (Using OBS Console)
- Start to Process (Using APIs)
- Typical Cases
- Obtaining Image Information
- Obtaining Average RGB Value of an Image
- Setting Image Effects
- Resizing Images
- Rotating Images
- Cropping Images
- Watermarking Images
- Converting Formats
- Changing Quality
- Slimming Images
- Image Persistency
- FAQ
- Change History
-
Permissions Configuration Guide (Paris Region)
- Introduction to OBS Access Control
- Permission Control Mechanisms
- Access Requests
- 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 Temporary Access to OBS
- Restricting Access to a Bucket for Specific IP Addresses
-
Granting Permissions to an IAM User Under the Current Account
- Appendix
- Change History
-
User Guide (Kuala Lumpur Region)
- Service Overview
-
OBS Console Operation Guide
- Console Function Overview
- Restrictions
- Getting Started
- Storage Classes Overview
- Managing Buckets
- Managing Objects
- Server-Side Encryption
- Object Metadata
- Bucket Inventories
-
Permissions Control
- Overview
- Permission Control Mechanisms
- Bucket Policy Parameters
- Configuring IAM Policies
- Configuring a Bucket Policy
- Configuring an Object Policy
- Configuring a Bucket ACL
- Configuring an Object ACL
-
Application Cases
- Granting an IAM User Permissions to Operate a Specific Bucket
- Granting Other Accounts Permissions to Operate a Specific Bucket
- Restricting Access to a Bucket for Specific Addresses
- Limiting the Time When Objects in a Bucket Are Accessible
- Granting Anonymous Users Permission to Access Objects
- Granting Anonymous Users Permission to Access Folders
- Versioning
- Logging
- Tags
- Event Notifications
- Lifecycle Management
- Configuring User-Defined Domain Names
- Static Website Hosting
- Cross-Origin Resource Sharing
- URL Validation
- Monitoring
- Related Operations
-
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
- Failed to Configure Event Notifications
- Time Difference Is Longer Than 15 Minutes Between the Client and Server
- Error Code List
-
FAQ
-
OBS Basics
- How Can I Get Started with OBS?
- How Do I Obtain an OBS Endpoint?
- 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?
- 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?
- Will My Bucket Performance Be Affected by Other Users' Services?
- Access Control
-
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?
- What Is the Relationship Between Bucket Storage Classes and Object Storage Classes?
- Can I Modify the Region of a Bucket?
- How Do I Obtain the Access Path to an Object?
- Why Can't I Search for Certain Objects in My Bucket?
- What Do I Do If I Encounter an Error While Trying to Access an Object URL with Full-Width Characters Using Internet Explorer?
- Tools
- APIs and SDKs
-
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?
- Fragment Management
- Versioning
- Tags
- Event Notifications
- How Do I Use Lifecycle Management?
- How Do I Use Static Website Hosting?
-
OBS Basics
- Change History
-
API Reference (Kuala Lumpur Region)
- Before You Start
- API Overview
- Calling APIs
- Getting Started
-
APIs
- Operations on 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 Event Notification for a Bucket
- Obtaining the Event Notification Configuration of a Bucket
- 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 a Custom Domain Name for a Bucket
- Obtaining the Custom Domain Name of a Bucket
- Deleting the Custom Domain Name of a Bucket
- Configuring Bucket Encryption
- Obtaining Bucket Encryption Configuration
- Deleting the Encryption Configuration of 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 Cold 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
- Server-Side Encryption
- Error Codes
- IAM Policies and Supported Actions
- Appendixes
- Change History
-
Tool Guide (OBS Browser+) (Kuala Lumpur Region)
- Introduction
- OBS Browser+ Function Overview
- Downloading OBS Browser+
- Installing OBS Browser+
- Logging In to OBS Browser+
-
FAQs
- Where Can I Obtain Access Keys (AK and SK)?
- Can I Install Two OBS Browser+ Tools from Different Sites in One System?
- 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?
- 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 on OBS Browser+?
- Uninstalling OBS Browser+
- Change History
- Tool Guide (obsfs) (Kuala Lumpur Region)
- Parallel File System Feature Guide (Kuala Lumpur Region)
- Best Practices (Kuala Lumpur Region)
-
User Guide (Ankara Region)
- Service Overview
- Configuration Before Use
-
OBS Console Operation Guide
- Console Function Overview
- Restrictions
- Getting Started
- Managing Buckets
- Managing Objects
- Object Metadata
- Bucket Inventories
-
Permissions Control
- Overview
- Permission Control Mechanisms
- Bucket Policy Parameters
- Configuring IAM Policies
- Configuring a Bucket Policy
- Configuring an Object Policy
- Configuring a Bucket ACL
- Configuring an Object ACL
-
Application Cases
- Granting an IAM User Permissions to Operate a Specific Bucket
- Granting Other Accounts Permissions to Operate a Specific Bucket
- Restricting Access to a Bucket for Specific Addresses
- Limiting the Time When Objects in a Bucket Are Accessible
- Granting Anonymous Users Permission to Access Objects
- Granting Anonymous Users Permission to Access Folders
- Versioning
- Logging
- Event Notifications
- Cross-Region Replication
- Cross-Cluster Replication
- Lifecycle Management
- Configuring User-Defined Domain Names
- Static Website Hosting
- Cross-Origin Resource Sharing
- URL Validation
- Task Center
- Two-AZ DR
- Related Operations
-
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
- Failed to Configure Event Notifications
- Time Difference Is Longer Than 15 Minutes Between the Client and Server
- Error Code 500 Is Returned When a Bucket with the Name of the Bucket Failing to Be Created in AZ 2 Is Created in AZ 1
- Object Upload or Download Errors
- Error Code List
-
FAQ
-
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?
- Can Folders in OBS Be Used the Same Way as in a File System?
- Where Is Data Stored in OBS?
- 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?
- Will My Bucket Performance Be Affected by Other Users' Services?
- Access Control
-
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?
- Can I Rename an Object?
- Can I Modify the Region of a Bucket?
- How Do I Obtain the Access Path to an Object?
- Why Can't I Search for Certain Objects in My Bucket?
- Does OBS Support Storage Quota Management?
-
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
- Fragment Management
- Versioning
- Event Notifications
- How Do I Use Lifecycle Management?
- How Do I Use Static Website Hosting?
- How Do I Use Cross-Region Replication?
-
OBS Basics
- Change History
-
API Reference (Ankara Region)
- Before You Start
- API Overview
- Calling APIs
- Getting Started
-
APIs
- Operations on 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 Event Notification for a Bucket
- Obtaining the Event Notification Configuration of a Bucket
- Configuring Cross-Region Replication for a Bucket
- Obtaining the Cross-Region Replication Configuration of a Bucket
- Deleting the Cross-Region Replication Configuration of a Bucket
- 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 a Custom Domain Name for a Bucket
- Obtaining the Custom Domain Name of a Bucket
- Deleting the Custom Domain Name of a Bucket
- Configuring Cross-Cluster Replication for a Bucket
- Obtaining the Cross-Cluster Replication Configuration of a Bucket
- Deleting the Cross-Cluster Replication Configuration of 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
- 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
- Error Codes
- IAM Policies and Supported Actions
- Appendixes
- Change History
- Parallel File System Feature Guide(Ankara Region)
-
Tool Guide (OBS Browser+) (Ankara Region)
- Introduction
- OBS Browser+ Function Overview
- Downloading OBS Browser+
- Installing OBS Browser+
- Logging In to OBS Browser+
-
FAQs
- Where Can I Obtain Access Keys (AK and SK)?
- Can I Install Two OBS Browser+ Tools from Different Sites in One System?
- 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?
- How Can I Access a Specific Bucket or Directory?
- Can OBS Browser+ List Objects with Special Characters in Their Names?
- Uninstalling OBS Browser+
- Change History
-
Tool Guide (obsutil) (Ankara Region)
- obsutil Introduction
- Downloading and Installing obsutil
- Getting Started
- Bucket Commands
-
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
- Resuming a Failed Upload Task
- Resuming a Failed Copy Task
- Resuming a Failed Download Task
- Listing Multipart Upload Tasks
- Deleting a Multipart Upload Task
- Auxiliary Commands
- Common Examples
- Fault Locating
-
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
- 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 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?
- Configuration Parameters
- Change History
-
Operation Guide (Leaving soon. Moving to User Guide.)
- Before You Start
- Storage Classes
- Bucket Management
- Object Management
- Permissions Control
- Data Management
- Data Access
- Data Security
- Data Processing
- Monitoring and Logging
- Parallel File System
-
Image Processing (Leaving soon. Moving to User Guide.)
- Introduction
- Using Image Processing on OBS Console
- Using Image Processing with APIs
- Typical Cases
- Getting Information About an Image
- Getting the Average RGB Value of an Image
- Setting Image Effects
- Resizing Images
- Rotating Images
- Cropping Images
- Watermarking Images
- Converting Image Formats
- Changing Image Quality
- Slimming Images
- Image Processing Persistency
-
FAQ
- What Is Image Processing?
- How Do I Access Image Processing?
- How Is Image Processing Billed?
- How Many Image Styles Can I Create in a Bucket?
- What Formats Does Image Processing Support?
- How Do I Access Image Processing with a URL?
- Where Are Processed Images Stored After CDN Acceleration Is Enabled?
- Why Was My Bucket Accessed by IP Addresses Starting with 100 After I Performed Image Processing in My Logging-enabled Bucket?
- Parallel File System (Leaving soon. Moving to User Guide.)
-
User Guide (ME-Abu Dhabi Region)
- Funciones
- Diferencias entre los métodos PUT y POST
- Control de versiones
- WORM
- Sintaxis de solicitud
- Parámetros de solicitud
- Encabezados de solicitud
- Elementos de solicitud
- Sintaxis de respuesta
- Encabezados de respuesta
- Elementos de respuesta
- Respuestas de error
- Ejemplo de solicitud: Carga de un objeto
- Ejemplo de respuesta: Carga de un objeto
- Ejemplo de solicitud: Carga de un objeto (con la ACL configurada)
- Ejemplo de respuesta: Carga de un objeto (con la ACL configurada)
- Ejemplo de solicitud: Carga de un objeto en un bucket con versiones
- Ejemplo de respuesta: Carga de un objeto en un bucket con versiones
- Ejemplo de solicitud: Carga de un objeto (con su MD5 especificado)
- Ejemplo de respuesta: Carga de un objeto (con su MD5 especificado)
- Ejemplo de solicitud: Carga de un objeto (con Alojamiento Web configurado)
- Ejemplo de respuesta: Carga de un objeto (con Alojamiento Web configurado)
- Ejemplo de solicitud: Carga de un objeto mediante una URL firmada
- Ejemplo de respuesta: Carga de un objeto mediante una URL firmada
- Ejemplo de solicitud: Carga de un objeto (con una clase de almacenamiento especificada)
- Ejemplo de respuesta: Carga de un objeto (con una clase de almacenamiento especificada)
- Ejemplo de solicitud: Carga de un objeto (con una política de retención de WORM configurada)
- Ejemplo de respuesta: Carga de un objeto (con una política de retención de WORM configurada)
Mostrar todo
Copiado.
Carga de objetos - PUT
Funciones
Después de crear un bucket en OBS, puede usar esta operación para cargar un objeto en el bucket. Esta operación carga un objeto a un bucket. Para usar esta operación, debe tener el permiso de escritura para el bucket.
El nombre de cada objeto de un bucket debe ser único.
Si el control de versiones no está habilitado, si un objeto que se va a cargar tiene el mismo nombre que un objeto existente en el bucket, el objeto recién cargado sobrescribirá al existente. Para proteger los datos de corromperse durante la transmisión, puede agregar el encabezado Content-MD5 en la solicitud. Después de recibir el objeto cargado, OBS compara el valor MD5 proporcionado con el valor MD5 que calcula. Si los dos valores no coinciden, OBS informa de un error.
También puede especificar el valor del parámetro x-obs-acl para configurar una política de control de acceso para el objeto. Si no se especifica el parámetro x-obs-acl cuando un usuario anónimo carga un objeto, todos los usuarios de OBS pueden acceder al objeto de forma predeterminada.
Esta operación admite la encriptación del lado del servidor.
Para una sola carga, el tamaño del objeto que se va a cargar varía [0, 5 GB]. Para cargar un archivo de más de 5 GB, consulte Operaciones en carga multiparte.
OBS no tiene carpetas reales. Para facilitar la gestión de datos, OBS proporciona un método para simular una carpeta añadiendo una barra diagonal (/) al nombre del objeto, por ejemplo, test/123.jpg. Puede simular test como una carpeta y 123.jpg como el nombre de un archivo bajo la carpeta test. Sin embargo, la clave del objeto sigue siendo test/123.jpg. Los objetos nombrados en este formato aparecen como carpetas en la consola. Cuando se carga un objeto de tamaño mayor que 0 con este formato, se mostrará una carpeta vacía en la consola, pero la capacidad de almacenamiento ocupada es el tamaño real del objeto.
Diferencias entre los métodos PUT y POST
Los parámetros se pasan a través de la cabecera de petición si el método PUT se usa para cargar objetos; si el método POST se usa para cargar objetos, los parámetros se pasan a través del campo de formulario en el cuerpo del mensaje.
Con el método PUT, debe especificar el nombre de objeto en la URL, pero el nombre de objeto no es necesario con el método POST, que utiliza el nombre de dominio de bucket como URL. Las líneas de solicitud de los dos métodos son las siguientes:
PUT /ObjectName HTTP/1.1
POST / HTTP/1.1
Para obtener más información acerca de la carga POST, consulte Carga de objetos - POST.
Control de versiones
Si el control de versiones está habilitado para un bucket, el sistema genera automáticamente un ID de versión único para el objeto solicitado en este bucket y devuelve el ID de versión en el encabezado de respuesta x-obs-version-id. Si el control de versiones está suspendido para el bucket, el ID de la versión del objeto es null. Para obtener más información sobre los estados de control de versiones de un bucket, consulte Configuración del control de versiones para un bucket.
WORM
Si un bucket tiene WORM habilitado, puede configurar políticas de retención para objetos en el bucket. Puede especificar los encabezados x-obs-object-lock-mode y x-obs-object-lock-retain-until-date para configurar una política de retención al cargar un objeto. Si no especifica estos dos encabezados pero ha configurado una política WORM predeterminada a nivel de bucket, esta política predeterminada se aplica automáticamente al objeto recién cargado. También puede configurar o actualizar una política de retención de WORM para un objeto existente.
Cuando habilita WORM para un bucket, OBS activa automáticamente el control de versiones para el bucket. WORM protege los objetos basándose en los IDs de versión del objeto. Solo se protegerán las versiones de objetos con cualquier política de retención de WORM configurada. Supongamos que el objeto test.txt 001 está protegido por WORM. Si se carga otro archivo con el mismo nombre, se generará una nueva versión de objeto test.txt 002 sin política de WORM configurada. En tal caso, test.txt 002 no están protegidas y se pueden eliminar. Cuando descargue un objeto sin especificar un ID de versión, se descargará la versión actual del objeto (test.txt 002).
Sintaxis de solicitud
1 2 3 4 5 6 7 |
PUT /ObjectName HTTP/1.1 Host: bucketname.obs.region.myhuaweicloud.com Content-Type: application/xml Content-Length: length Authorization: authorization Date: date <Optional Additional Header> <object Content> |
Parámetros de solicitud
Esta solicitud no contiene parámetros.
Encabezados de solicitud
Esta solicitud utiliza encabezados comunes. Para más detalles, consulte Tabla 3. La solicitud puede utilizar encabezados adicionales, como se indica en Tabla 1.
OBS admite los seis encabezados de solicitud HTTP: Cache-Control, Expires, Content-Encoding, Content-Disposition, Content-Type y Content-Language. Si estos encabezados se incluyen en una solicitud de carga de objetos, sus valores se guardan. También puede invocar a la API de modificación de metadatos, proporcionada por OBS, para cambiar los valores de los seis encabezados. Cuando se descarga o consulta el objeto, los valores guardados se establecen para los encabezados HTTP correspondientes y se devuelven al cliente.
Encabezado |
Descripción |
Obligatorio |
---|---|---|
Content-MD5 |
Resumen MD5 de 128 bits codificado en base64 del mensaje de acuerdo con RFC 1864. Tipo: string Ejemplo: n58IG6hfM7vqI4K0vnWpog== |
No |
x-obs-acl |
Al crear un objeto, puede agregar este encabezado para establecer la política de control de permisos para el objeto. Las políticas comunes predefinidas son las siguientes: private, public-read y public-read-write. Para obtener más información sobre cada política, consulte la configuración de ACL mediante campos de encabezado en ACLs. Tipo: string Nota: Este encabezado es una política predefinida expresada en una string de caracteres. Ejemplo: x-obs-acl: public-read |
No |
x-obs-grant-read |
Al crear un objeto, puede utilizar este encabezado para conceder a todos los usuarios de una cuenta los permisos para leer el objeto y obtener los metadatos del objeto. Tipo: string Ejemplo: x-obs-grant-read: id=domainID. Si se autorizan varias cuentas, sepárelas con comas (,). |
No |
x-obs-grant-read-acp |
Al crear un objeto, puede utilizar este encabezado para conceder a todos los usuarios de una cuenta los permisos para obtener la ACL del objeto. Tipo: string Ejemplo: x-obs-grant-read-acp: id=domainID. Si se autorizan varias cuentas, sepárelas con comas (,). |
No |
x-obs-grant-write-acp |
Al crear un objeto, puede utilizar este encabezado para conceder a todos los usuarios de una cuenta el permiso para escribir la ACL de destino. Tipo: string Ejemplo: x-obs-grant-write-acp: id=domainID. Si se autorizan varias cuentas, sepárelas con comas (,). |
No |
x-obs-grant-full-control |
Al crear un objeto, puede utilizar este encabezado para conceder a todos los usuarios de una cuenta los permisos para leer el objeto, obtener los metadatos del objeto y la ACL, y escribir la ACL del objeto. Tipo: string Ejemplo: x-obs-grant-full-control: id=domainID. Si se autorizan varias cuentas, sepárelas con comas (,). |
No |
x-obs-storage-class |
Al crear un objeto, puede utilizar este encabezado para especificar la clase de almacenamiento para el objeto. Si no utiliza este encabezado, la clase de almacenamiento de objetos es la clase de almacenamiento predeterminada del bucket. Tipo: string Opciones de clase de almacenamiento: STANDARD (Standard), WARM (Infrequent Access), COLD (Archive). Los valores distinguen entre mayúsculas y minúsculas. Ejemplo: x-obs-storage-class: STANDARD |
No |
x-obs-meta-* |
Al crear un objeto, puede usar un encabezado que comience con x-obs-meta- para definir metadatos de objeto en una solicitud HTTP. Los metadatos definidos por el usuario se devolverán en la respuesta cuando recupere el objeto o consulte los metadatos del objeto. Para obtener más información, consulte Metadatos de objetos definidos por el usuario. Tipo: string Ejemplo: x-obs-meta-test: test metadata Restricción: Tanto las claves de metadatos definidas por el usuario como sus valores deben cumplir con los estándares US-ASCII. |
No |
x-obs-persistent-headers |
Al crear un objeto, puede agregar el encabezado x-obs-persistent-headers en una solicitud HTTP para especificar uno o más encabezados de respuesta definidos por el usuario. Los encabezados de respuesta definidos por el usuario se devolverán en el encabezado de respuesta cuando recupere el objeto o consulte los metadatos del objeto. Tipo: string Formato: x-obs-persistent-headers: key1:base64_encode(value1),key2:base64_encode(value2)... Nota: Los elementos, como key1 y key2, son encabezados definidos por el usuario. Si contienen caracteres no ASCII o irreconocibles, se pueden codificar mediante URL o Base64. El servidor procesa estos encabezados como cadenas de caracteres, pero no los decodifica. Los elementos, tales como value1 y value2, son los valores de las cabeceras correspondientes. base64_encode indica que el valor se codifica usando Base64. Un encabezado definido por el usuario y su valor codificado en Base64 se conectan usando dos puntos (:) para formar un par clave-valor. Todos los pares clave-valor se separan con una coma (,) y se colocan en el encabezado x-obs-persistent-headers. A continuación, el servidor decodifica el valor cargado. Ejemplo: x-obs-persistent-headers: key1:dmFsdWUx,key2:dmFsdWUy El encabezado devuelto para descargar el objeto u obtener los metadatos del objeto es key1:value1 o key2:value2 respectivamente. Restricciones:
|
No |
x-obs-website-redirect-location |
Si un bucket está configurado con la función de alojamiento de sitios web estático, redirigirá las solicitudes para este objeto a otro objeto en el mismo bucket o a una URL externa. OBS almacena el valor de este encabezado en los metadatos del objeto. En el siguiente ejemplo, el encabezado de solicitud establece la redirección a un objeto (anotherPage.html) en el mismo bucket: x-obs-website-redirect-location:/anotherPage.html En el ejemplo siguiente, el encabezado de solicitud establece la redirección del objeto a una URL externa: x-obs-website-redirect-location:http://www.example.com/ Tipo: string Valor predeterminado: ninguno Restricción: el valor debe tener el prefijo de una barra diagonal (/), http://, o https://. La longitud del valor no puede superar los 2 KB. |
No |
x-obs-server-side-encryption |
Indica que se utiliza SSE-KMS. Tipo: string Ejemplo: x-obs-server-side-encryption: kms |
No. Este encabezado es necesario cuando se utiliza SSE-KMS. |
x-obs-server-side-encryption-kms-key-id |
Indica la clave principal cuando se utiliza SSE-KMS. Si no se proporciona este encabezado, se utilizará la clave principal predeterminada. Si no existe una clave principal por defecto, OBS creará una y la usará por defecto. Tipo: string Se admiten los dos formatos siguientes: - regionID:domainID:key/key_id - key_id regionID indica el ID de la región a la que pertenece la clave. domainID indica el ID del tenant al que pertenece la clave. key_id indica el ID de la clave creada en DEW. Ejemplo: - x-obs-server-side-encryption-kms-key-id: region:domainiddomainiddomainiddoma0001: key/4f1cd4de-ab64-4807-920a-47fc42e7f0d0 - x-obs-server-side-encryption-kms-key-id: 4f1cd4de-ab64-4807-920a-47fc42e7f0d0 |
No |
x-obs-server-side-encryption-customer-algorithm |
Indica el algoritmo de encriptación cuando se utiliza SSE-C. Tipo: string Ejemplo: x-obs-server-side-encryption-customer-algorithm: AES256 Restricción: Este encabezado debe usarse junto con x-obs-server-side-encryption-customer-key y x-obs-server-side-encryption-customer-key-MD5. |
No. Este encabezado se requiere cuando se utiliza SSE-C. |
x-obs-server-side-encryption-customer-key |
Indica la clave para cifrar objetos cuando se utiliza SSE-C. Tipo: string Ejemplo: x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw= Restricción: Este encabezado es una clave de 256 bits codificada en Base64 y debe usarse junto con x-obs-server-side-encryption-customer-algorithm y x-obs-server-side-encryption-customer-key-MD5. |
No. Este encabezado se requiere cuando se utiliza SSE-C. |
x-obs-server-side-encryption-customer-key-MD5 |
Indica el valor MD5 de la clave de encriptación cuando se utiliza SSE-C. El valor MD5 se utiliza para comprobar si se produce algún error durante la transmisión de la clave. Tipo: string Ejemplo: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== Restricción: Este encabezado es un valor MD5 de 128 bits codificado en Base64 y debe usarse junto con x-obs-server-side-encryption-customer-algorithm y x-obs-server-side-encryption-customer-key. |
No. Este encabezado se requiere cuando se utiliza SSE-C. |
success-action-redirect |
Indica la dirección (URL) a la que se redirige una solicitud respondida correctamente.
Tipo: string |
No |
x-obs-expires |
Especifica cuándo caduca un objeto. Se mide en días. Una vez que el objeto caduca, se elimina automáticamente. (La validez se calcula a partir del tiempo de creación del objeto.) Puede configurar este campo al cargar un objeto o modificarlo mediante la API de modificación de metadatos después de cargar el objeto. Tipo: integer Ejemplo: x-obs-expires:3 |
No |
x-obs-object-lock-mode |
Modo de WORM que se aplicará al objeto. Actualmente, solo se admite COMPLIANCE. Este encabezado debe usarse junto con x-obs-object-lock-retain-until-date. Tipo: string Ejemplo: x-obs-object-lock-mode:COMPLIANCE |
No, pero es necesario cuando x-obs-object-lock-retain-until-date está presente. |
x-obs-object-lock-retain-until-date |
Indica el tiempo de caducidad de la retención de Object Lock. El valor debe ser una hora UTC que cumpla con la norma ISO 8601, por ejemplo 2015-07-01T04:11:15Z. Este encabezado debe usarse junto con x-obs-object-lock-mode. Tipo: string Ejemplo: x-obs-object-lock-retain-until-date:2015-07-01T04:11:15Z |
No, pero es necesario cuando x-obs-object-lock-mode está presente. |
Elementos de solicitud
Esta solicitud no contiene elementos. Su cuerpo contiene solo el contenido del objeto solicitado.
Sintaxis de respuesta
1 2 3 |
HTTP/1.1 status_code Content-Length: length Content-Type: type |
Encabezados de respuesta
La respuesta a la solicitud utiliza encabezados comunes. Para más detalles, consulte Tabla 1.
Además de los encabezados de respuesta comunes, los encabezados de mensaje enumerados en Tabla 2 puede ser usado.
Encabezado |
Descripción |
---|---|
x-obs-version-id |
ID de versión del objeto. Si el control de versiones está habilitado para el bucket, se devolverá el ID de versión del objeto. Tipo: string |
x-obs-server-side-encryption |
Este encabezado se incluye en una respuesta si se utiliza SSE-KMS. Tipo: string Ejemplo: x-obs-server-side-encryption:kms |
x-obs-server-side-encryption-kms-key-id |
Indica el ID de clave principal. Este encabezado se incluye en una respuesta cuando se usa SSE-KMS. Tipo: string Formato: regionID:domainID:key/key_id regionID indica el ID de la región a la que pertenece la clave. domainID indica el ID del tenant al que pertenece la clave. key_id indica el ID de clave utilizado en esta encriptación. Ejemplo: x-obs-server-side-encryption-kms-key-id:region:domainiddomainiddomainiddoma0001:key/4f1cd4de-ab64-4807-920a-47fc42e7f0d0 |
x-obs-server-side-encryption-customer-algorithm |
Indica el algoritmo de encriptación. Este encabezado se incluye en una respuesta cuando se usa SSE-C. Tipo: string Ejemplo: x-obs-server-side-encryption-customer-algorithm: AES256 |
x-obs-server-side-encryption-customer-key-MD5 |
Indica el valor MD5 de la clave para cifrar objetos. Este encabezado se incluye en una respuesta cuando se usa SSE-C. Tipo: string Ejemplo: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== |
x-obs-storage-class |
Este encabezado se devuelve cuando la clase de almacenamiento de un objeto no es Standard. El valor puede ser WARM o COLD. Tipo: string |
Elementos de respuesta
Esta respuesta no contiene elementos.
Respuestas de error
No se devuelven respuestas de error especiales. Para obtener más información sobre las respuestas de error, consulte Tabla 2.
Ejemplo de solicitud: Carga de un objeto
1 2 3 4 5 6 7 8 9 10 |
PUT /object01 HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Date: WED, 01 Jul 2015 04:11:15 GMT Authorization: OBS H4IPJX0TQTHTHEBQQCEC:gYqplLq30dEX7GMi2qFWyjdFsyw= Content-Length: 10240 Expect: 100-continue [1024 Byte data content] |
Ejemplo de respuesta: Carga de un objeto
1 2 3 4 5 6 7 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: BF2600000164364C10805D385E1E3C67 ETag: "d41d8cd98f00b204e9800998ecf8427e" x-obs-id-2: 32AAAWJAMAABAAAQAAEAABAAAQAAEAABCTzu4Jp2lquWuXsjnLyPPiT3cfGhqPoY Date: WED, 01 Jul 2015 04:11:15 GMT Content-Length: 0 |
Ejemplo de solicitud: Carga de un objeto (con la ACL configurada)
1 2 3 4 5 6 7 8 9 10 11 |
PUT /object01 HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Date: WED, 01 Jul 2015 04:13:55 GMT x-obs-grant-read:id=52f24s3593as5730ea4f722483579ai7,id=a93fcas852f24s3596ea8366794f7224 Authorization: OBS H4IPJX0TQTHTHEBQQCEC:gYqplLq30dEX7GMi2qFWyjdFsyw= Content-Length: 10240 Expect: 100-continue [1024 Byte data content] |
Ejemplo de respuesta: Carga de un objeto (con la ACL configurada)
1 2 3 4 5 6 7 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: BB7800000164845759E4F3B39ABEE55E ETag: "d41d8cd98f00b204e9800998ecf8427e" x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSReVRNuas0knI+Y96iXrZA7BLUgj06Z Date: WED, 01 Jul 2015 04:13:55 GMT Content-Length: 0 |
Ejemplo de solicitud: Carga de un objeto en un bucket con versiones
1 2 3 4 5 6 7 8 9 10 11 |
PUT /object01 HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Date: WED, 01 Jul 2015 04:17:12 GMT x-obs-storage-class: WARM Authorization: OBS H4IPJX0TQTHTHEBQQCEC:uFVJhp/dJqj/CJIVLrSZ0gpw3ng= Content-Length: 10240 Expect: 100-continue [1024 Byte data content] |
Ejemplo de respuesta: Carga de un objeto en un bucket con versiones
1 2 3 4 5 6 7 8 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: DCD2FC9CAB78000001439A51DB2B2577 ETag: "d41d8cd98f00b204e9800998ecf8427e" X-OBS-ID-2: GcVgfeOJHx8JZHTHrRqkPsbKdB583fYbr3RBbHT6mMrBstReVILBZbMAdLiBYy1l Date: WED, 01 Jul 2015 04:17:12 GMT x-obs-version-id: AAABQ4q2M9_c0vycq3gAAAAAVURTRkha Content-Length: 0 |
Ejemplo de solicitud: Carga de un objeto (con su MD5 especificado)
1 2 3 4 5 6 7 8 9 10 11 |
PUT /object01 HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Date: WED, 01 Jul 2015 04:17:50 GMT Authorization: OBS H4IPJX0TQTHTHEBQQCEC:uFVJhp/dJqj/CJIVLrSZ0gpw3ng= Content-Length: 10 Content-MD5: 6Afx/PgtEy+bsBjKZzihnw== Expect: 100-continue 1234567890 |
Ejemplo de respuesta: Carga de un objeto (con su MD5 especificado)
1 2 3 4 5 6 7 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: BB7800000164B165971F91D82217D105 X-OBS-ID-2: 32AAAUJAIAABAAAQAAEAABAAAQAAEAABCSEKhBpS4BB3dSMNqMtuNxQDD9XvOw5h ETag: "1072e1b96b47d7ec859710068aa70d57" Date: WED, 01 Jul 2015 04:17:50 GMT Content-Length: 0 |
Ejemplo de solicitud: Carga de un objeto (con Alojamiento Web configurado)
Si se ha configurado el alojamiento de sitios web estáticos para un bucket, puede configurar los parámetros de la siguiente manera cuando cargue un objeto. A continuación, se redirigirá a los usuarios cuando descarguen el objeto.
1 2 3 4 5 6 7 8 9 10 11 |
PUT /object01 HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Date: WED, 01 Jul 2015 04:17:12 GMT x-obs-website-redirect-location: http://www.example.com/ Authorization: OBS H4IPJX0TQTHTHEBQQCEC:uFVJhp/dJqj/CJIVLrSZ0gpw3ng= Content-Length: 10240 Expect: 100-continue [1024 Byte data content] |
Ejemplo de respuesta: Carga de un objeto (con Alojamiento Web configurado)
1 2 3 4 5 6 7 8 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: DCD2FC9CAB78000001439A51DB2B2577 x-obs-id-2: 32AAAUJAIAABAAAQAAEAABAAAQAAEAABCTmxB5ufMj/7/GzP8TFwTbp33u0xhn2Z ETag: "1072e1b96b47d7ec859710068aa70d57" Date: WED, 01 Jul 2015 04:17:12 GMT x-obs-version-id: AAABQ4q2M9_c0vycq3gAAAAAVURTRkha Content-Length: 0 |
Ejemplo de solicitud: Carga de un objeto mediante una URL firmada
PUT /object02?AccessKeyId=H4IPJX0TQTHTHEBQQCEC&Expires=1532688887&Signature=EQmDuOhaLUrzrzRNZxwS72CXeXM%3D HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Content-Length: 1024 [1024 Byte data content]
Ejemplo de respuesta: Carga de un objeto mediante una URL firmada
1 2 3 4 5 6 7 8 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: DCD2FC9CAB78000001439A51DB2B2577 x-obs-id-2: 32AAAUJAIAABAAAQAAEAABAAAQAAEAABCTmxB5ufMj/7/GzP8TFwTbp33u0xhn2Z ETag: "1072e1b96b47d7ec859710068aa70d57" Date: Fri, 27 Jul 2018 10:52:31 GMT x-obs-version-id: AAABQ4q2M9_c0vycq3gAAAAAVURTRkha Content-Length: 0 |
Ejemplo de solicitud: Carga de un objeto (con una clase de almacenamiento especificada)
1 2 3 4 5 6 7 8 9 10 11 |
PUT /object01 HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Date: WED, 01 Jul 2015 04:15:07 GMT x-obs-storage-class: WARM Authorization: OBS H4IPJX0TQTHTHEBQQCEC:uFVJhp/dJqj/CJIVLrSZ0gpw3ng= Content-Length: 10240 Expect: 100-continue [1024 Byte data content] |
Ejemplo de respuesta: Carga de un objeto (con una clase de almacenamiento especificada)
1 2 3 4 5 6 7 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: BB7800000164846A2112F98BF970AA7E ETag: "d41d8cd98f00b204e9800998ecf8427e" x-obs-id-2: a39E0UgAIAABAAAQAAEAABAAAQAAEAABCTPOUJu5XlNyU32fvKjM/92MQZK2gtoB Date: WED, 01 Jul 2015 04:15:07 GMT Content-Length: 0 |
Ejemplo de solicitud: Carga de un objeto (con una política de retención de WORM configurada)
PUT /object01 HTTP/1.1 User-Agent: curl/7.29.0 Host: examplebucket.obs.region.myhuaweicloud.com Accept: */* Date: WED, 01 Jul 2015 04:11:15 GMT Authorization: OBS H4IPJX0TQTHTHEBQQCEC:gYqplLq30dEX7GMi2qFWyjdFsyw= Content-Length: 10240 x-obs-object-lock-mode:COMPLIANCE x-obs-object-lock-retain-until-date:2022-09-24T16:10:25Z Expect: 100-continue [1024 Byte data content]
Ejemplo de respuesta: Carga de un objeto (con una política de retención de WORM configurada)
1 2 3 4 5 6 7 |
HTTP/1.1 200 OK Server: OBS x-obs-request-id: BF2600000164364C10805D385E1E3C67 ETag: "d41d8cd98f00b204e9800998ecf8427e" x-obs-id-2: 32AAAWJAMAABAAAQAAEAABAAAQAAEAABCTzu4Jp2lquWuXsjnLyPPiT3cfGhqPoY Date: WED, 01 Jul 2015 04:11:15 GMT Content-Length: 0 |