All Products
Search
Document Center

Elastic Compute Service:use Workbench to upload, download, or manage files on ECS instances

Last Updated:Mar 08, 2024

Workbench allows you to visually manage files on Elastic Compute Service (ECS) instances. You can use Workbench to view, add, delete, modify, upload, and download files on ECS instances. This topic describes how to use Workbench to manage files on an ECS instance.

Prerequisites

Limits

Files are uploaded by using Workbench at a rate of approximately 50 KB/s. If a large number of users use Workbench at the same time, the upload rate may be lower than 50 KB/s.

Procedure

Important

When you use Workbench to upload or download a file to or from an ECS instance, make sure that the file does not exceed 500 MB in size if the instance is a Linux instance and the file does not exceed 100 MB in size if the instance is a Windows instance.

If your file exceeds the limit, you can use the following methods to upload or download the file:

Linux instance

Upload a file

  1. In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.

  2. In the file tree, right-click the location to which to upload a file and select Upload File.

  3. Select the file that you want to upload.

    The message shown in the following figure indicates that the file is uploaded.上传完成

    Note

    If a file fails to be uploaded, you can re-upload or delete the file. If multiple files fail to be uploaded, you can click Upload All Failed Items Again to re-upload the files.

    After the file is uploaded, you can modify, delete, download, or rename the file in the file list.

Download a file

  1. In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.

  2. In the file tree, right-click the file that you want to download and select Download File.

    The message shown in the following figure indicates that the file is downloaded.下载完成

    Note

    If the file fails to be downloaded, you can redownload or delete the file. If multiple files fail to be downloaded, click Download All Failed Items Again to redownload the files.

View files

  1. In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.

  2. View folders and files.

    The following figure shows a file navigator.file-navigator

Create a file

  1. In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.

  2. In the file tree, right-click the location where to create a file and select New File.

  3. In the New File dialog box, enter a name for the file and click OK.

Edit a file

  1. In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.

  2. In the file tree, right-click a file and select Open.

  3. Enter content in the text editor and click the Save icon in the upper-right corner.

    edit-file

  4. In the Confirm Saving message, click OK.

Delete a file

  1. In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.

  2. In the file tree, right-click a file and select Delete.

  3. In the Confirm Deletion message, click OK.

Windows instance

In the examples, an instance that runs Windows Server 2022 is used. The operations vary based on the instance operating system. Perform operations based on your operating system.

Upload a file

  1. In the search box, enter This PC.

  2. In the Redirected drives and folders section, double-click the workbench on <Your Alibaba Cloud account> drive.

    image

  3. Drag and drop a file from your on-premises computer to the directory of the preceding drive. In this example, the test.txt file is used.

    image

  4. Drag the file from the directory to the C drive or another drive.

    Important

    When you reconnect to or exit the instance, Workbench clears the information of all files that are uploaded to the instance to free up storage space. Store uploaded files properly.

Download a file

Important

Empty files cannot be downloaded.

  1. In the search box, enter This PC.

  2. In the Redirected drives and folders section, double-click the workbench on <Your Alibaba Cloud account> drive.

    image

  3. Drag a file from the C drive or another drive to the Download directory to download the file to your on-premises computer.

Delete a file

  1. In the search box, enter This PC.

  2. In the Redirected drives and folders section, double-click the workbench on <Your Alibaba Cloud account> drive.

    image

  3. Right-click a file and select Delete to delete the file.