Common operations in ossbrowser 2.0

更新时间:
复制 MD 格式

This topic describes how to perform common operations to manage buckets and objects in ossbrowser 2.0, such as creating and deleting buckets, and uploading, downloading, previewing, copying, moving, and sharing objects.

Prerequisites

You have installed and logged on to ossbrowser 2.0. For more information, see Install ossbrowser 2.0 and Log on to ossbrowser 2.0.

Use cases

  • Upload and download large objects (larger than 5 GB).

    By default, ossbrowser 2.0 uses multipart upload and resumable upload to upload objects. The maximum size of an object that can be uploaded is 48.8 TB. During the upload, ossbrowser 2.0 automatically splits the object into parts and merges them after the upload is complete.

    Important

    If you need to transfer large objects over a public network, we recommend that you use the ossutil 2.0 CLI.

  • Access a specific directory in a bucket by using an authorization code.

    ossbrowser 2.0 supports logging on with temporary authorization codes. You can provide a temporary authorization code to a user to grant temporary access to a specific directory in your bucket. The code automatically becomes invalid after it expires. For more information, see Authorize objects.

Manage buckets

ossbrowser 2.0 supports bucket-level operations similar to those in the OSS console. Follow the instructions in the ossbrowser 2.0 UI to manage your buckets.

Actions

Description

Create a bucket

A bucket is a container that holds your objects. You must create a bucket before you can upload objects to OSS. For more information about how to specify a bucket name, region, ACL, and storage class, see Create a bucket.

At the top of the page, click Create Bucket.

List buckets

After you log on to ossbrowser 2.0, the tool automatically lists your buckets.

Delete a bucket

If you no longer need a bucket, delete it to avoid incurring additional charges. For information about the considerations for deleting buckets, see Delete a bucket.

Select the target bucket, click the image icon, and select Delete > Are you sure you want to delete the virtual bucket? to delete the bucket.

Favorite a bucket

Select a bucket and click the image icon to add it to your favorites.

View basic bucket information

Select a bucket and click the image icon to view its basic information, such as region, ACL, and creation time.

Manage objects

ossbrowser 2.0 supports object-level operations similar to those in the OSS console. To manage objects, click a bucket name to go to the object list page and follow the UI instructions.

Actions

Description

Upload an object

By default, ossbrowser 2.0 uses multipart upload and resumable upload. You can upload objects up to 48.8 TB. If an upload is interrupted and not resumed, the uploaded data is stored as parts in the bucket. We recommend that you delete unneeded parts to avoid storage fees.

Important

Uploading an object with the same name as an existing object overwrites the existing object.

Upload a folder

At the top of the page, click Upload and select Upload Folder from the drop-down list.

Note

A single upload task can include a maximum of 100,000 objects in a folder and its subfolders. Exceeding this limit reports the files and folders hit limit=100000 error and causes the upload to fail.

Download an object

Select an object and click Download at the top of the page.

Note

You can also select multiple objects and click Download to download them in a batch.

Download a folder

Select a folder and click Download at the top of the page.

List objects

Click a bucket name to list the objects in the bucket.

Preview an object

Click an object name to preview it. You can preview and edit text objects up to 100 MB in size.

Note

You can preview and edit most text objects online, including but not limited to objects with file extensions such as.java,.js,.go,.php,.py,.json,.html,.csv,.txt,.xml, and.yml.

Copy an object

Select an object, click More > Copy To, select a destination path, and then click Copy > Confirm Copy.

Important
  • You can copy objects up to 5 GB. To copy objects larger than 5 GB, we recommend that you use the ossutil 2.0 CLI.

  • Interrupted batch copy tasks cannot be resumed.

Move an object

Select an object, click More > Move To, select a destination path, and then click Move > Confirm Move.

Important

A move operation copies the source object to the destination and then deletes the source object. Note the following:

  • You can move objects up to 5 GB. To move objects larger than 5 GB, we recommend that you use the ossutil 2.0 CLI to copy the objects and then delete the source objects.

  • If the copy succeeds but the source object deletion fails (for example, due to insufficient permissions), both the source and destination objects are retained.

  • Interrupted batch move tasks cannot be resumed.

Rename an object

Select the target object, click the image icon on the right, select Rename, modify the name, and then click Confirm.

Important

A rename operation copies the object under a new name and then deletes the original object. Note the following:

  • If the copy succeeds but the original object deletion fails (for example, due to insufficient permissions), both the original and renamed objects are retained.

  • Interrupted folder rename tasks cannot be resumed.

Search for objects

In the search box at the top of the page, enter an object name prefix to find matching objects and folders in the bucket's root directory.

Restore an object

Select the target object and click More > Restore.

Delete an object

Select the target file, and click More > Delete.

Set a symbolic link

Select the target object, click the image icon on the right, and select Configure Symbolic Link. In the Configure Symbolic Link panel, specify the Symbolic Link File or Folder, and then click OK.

Set object metadata

Select the target object, click the image icon on the right, and select Set Object Metadata. In the Set Metadata panel, set the object metadata and then click OK.

Share an object

You can share an object's URL with third parties for download or preview.

Select the target object, click the image icon on the right, and select Obtain URL. Specify a validity period for the URL and click Generate.

Set ACL

Select the target object, click the image icon on the right, and select Set ACL. In the dialog box that appears, select an ACL and click OK.