File Management
Select the specific storage space, and click the “File Management” button in the right operation to enter the file management page.
In the file management list page, you can view the basic information of the files, such as filename, ETag, file size, storage type, MIME-TYPE, update time, etc.
Click the setting button in the upper right corner of file management, you can customize the file list.
Upload File
Click “Upload File” on the file management page, a dialog box will pop up where you can set path prefix, object tags, and select storage type.
”Inherit Bucket” refers to the storage type according to the Bucket. For an explanation of storage types, please refer to Storage Types
Modify MIME-Type
Just click the modify button for the corresponding file under “MIME-Type”, or select the file and click “Modify MIME-Type” to complete the modification.
Modify Storage Type
Just click ”···” under “Operation” and select “Modify Storage Type” to complete the modification.
Delete File
Delete Single File: Just click ”…” under “Operations” and select “Delete”.
Delete Multiple Files: Select the files you want to delete, then click “Delete”. Please note that currently only empty directories can be deleted, and once deleted, it cannot be recovered.
Download File
Download Single File: Just click”Download” under “Operation”.
Download Multiple Files: Select the files you want to download, then click “Download”. Please understand if there is a delay in the download. Please note that if there are archived/unfrozen files among the selected files, please complete the unfreeze before downloading.
Rename File
Renaming a file in the same storage space is actually achieved by copying the source file to the destination file through the Copy interface, and then deleting the source file through the DeleteFile interface.
Notes for renaming:
- If the file storage type is infrequent and the storage does not meet the required duration, the capacity cost will be generated for insufficient storage duration. For price details, please refer to Product Price;
- The file cannot be renamed when the file storage type is archived;
- The length of the rename file name must be between 1-1024 bytes, and cannot contain ”/”, and duplicate file names are not allowed;
- If the file size exceeds 100MB, please use the command line tool cli, US3 SDK or US3 API, etc., and rename it through the UploadPartCopy interface.
Hover your mouse over the target file, then click the rename icon to rename the file. When renaming, the file name must include the extension.
Get Address
Get URL for Single File: Just click ”···” under “Operation” and select “Get URL”, you can set the transmission protocol (HTTPS or HTTP), expiration time (5 minutes, 30 minutes, 12 hours or custom), and your own domain name in the pop-up window. Click “Copy” to copy the URL.
Get URL for Multiple Files: Select the files whose URL you want to export, then click “Export URL List”. You can set the transmission protocol (HTTPS or HTTP), expiration time (5 minutes, 30 minutes, 12 hours or custom), and your own domain name in the pop-up window. After confirming the resources, you can export the URL list.
Set HTTP Headers
The HTTP header (metadata header) of the file (Object) is the strings sent out by the server before sending HTML content to the browser using the HTTP protocol. By modifying the HTTP header (metadata header), you can change the response form of the page or convey configuration information, such as modifying the cache time. Modifying the HTTP header of the object does not modify the object itself.
The object metadata includes two types of metadata: HTTP standard properties (HTTP Header) and user-defined metadata (User Meta).
HTTP Standard Properties (HTTP Header) The following HTTP standard properties are reserved for each file uploaded to the storage space.
Name | Description | Example |
---|---|---|
MIME-Type | MIME information of the file | image/jpeg |
Content-Encoding | Encoding format of the file | gzip |
Content-Language | Language used for Object content. | zh-CN |
Content-Disposition | Extension of MIME protocol | attachment;filename=“fname.ext” |
Cache-Control | Caching mechanism of the file | no-cache;max-age=200 |
Expires | Control the expiry date of the cache | Wed, 21 Oct 2015 07:28:00 GMT |
User-defined Metadata (User Meta) Users can add custom metadata (User Meta) to files (Objects) when uploading them to identify the use or attributes of files.
- An Object can have multiple custom metadatas, but the total size of all custom metadatas cannot exceed 8 KB.
- Custom metadata is a set of key-value pairs, and the metadata name must start with X-Ufile-Meta-.
- When calling the GetFile or HeadFile interface, the custom metadata will be returned in the HTTP header.
Click ”···” under “Operation” and select “Set HTTP Header” to complete the modification.