All Products
Search
Document Center

Elastic Compute Service:Use Workbench to upload a file to and download a file from an instance

Last Updated:May 28, 2024

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

Scenarios

  • Operating system of the on-premises host: Linux, macOS, or Windows.

  • Operating system of the ECS instance: Linux or Windows.

  • File size:

    • For a Linux instance: Up to 500 MB.

    • For a Windows instance: Up to 100 MB.

Upload or download a file

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.

Windows instance

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.

References