All Products
Search
Document Center

:Why am I unable to download an Archive object from OSS?

Last Updated:Aug 01, 2023

Problem description

I uploaded a file to an Object Storage Service (OSS) bucket as an object. The object is in the Archive storage class. The Download button for the object is grayed out and I cannot download the object.

Causes

Normally, objects inherit the storage class of the bucket to which they are uploaded. The storage class of the object uploaded to OSS is Archive due to the following reasons:

  • The Archive storage class is specified for the object when you upload the object. The bucket that stores the object uses the Standard storage class.

  • The storage class of the bucket is Archive and the uploaded object inherits the storage class of the bucket.

Solutions

To download the Archive object, you can:

  • Call the RestoreObject operation to restore the object. After the object is restored, you can download the object. For more information, see Restore objects.

  • Enable real-time access of Archive objects for the bucket in which the Archive object is stored. Then, you can directly download the object. This setting takes effect for all Archive objects in the bucket. For more information, see Real-time access of Archive objects.