All Products
Search
Document Center

Elastic Compute Service:Manage files

Last Updated:May 12, 2023

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

Prerequisites

Procedure

Linux instance

View files

Method 1: View files by using a file navigator window

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

  2. View folders and files.

    The following figure shows a file navigator window.file-navigator

Method 2: View files by using a file manager window

  1. In the left part of the top navigation bar, choose File > New File Manager Window to open a file manager window.

  2. View folders and files.

    The following figure shows a file manager window.View files

Create a file

Method 1: Create a file by using a file navigator window

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

  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.

Method 2: Create a file by using a file manager window

  1. In the left part of the top navigation bar, choose File > New File Manager Window to open a file manager window.

  2. In the left-side file tree, click the location where to create a file. Then, choose Create > Create File above the right-side file list.

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

Edit a file

Method 1: Edit a file by using a file navigator window

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

  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.

Method 2: Edit a file by using a file manager window

  1. In the left part of the top navigation bar, choose File > New File Manager Window to open a file manager window.

  2. In the right-side file list, find the file that you want to edit and click Edit in the Actions column.

  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.

Upload a file

Method 1: Upload a file by using a file navigator window

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

  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.Uploaded

    Note
    • Files that do not exceed 100 MB in size can be uploaded.

    • 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 it in the file list.

Method 2: Upload a file by using a file manager window

  1. In the left part of the top navigation bar, choose File > New File Manager Window to open a file manager window.

  2. In the left-side file tree, click the location to which to upload a file. Then, click Upload File above the right-side file list.

  3. Select the file that you want to upload.

    The message shown in the following figure indicates that the file is uploaded.Uploaded

    Note
    • Files that do not exceed 100 MB in size can be uploaded.

    • 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 it in the file list.

Download a file

Method 1: Download a file by using a file navigator window

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

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

    The message shown in the following figure indicates that the file is downloaded.Downloaded

    Note
    • Files that do not exceed 100 MB in size can be downloaded.

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

Method 2: Download a file by using a file manager window

  1. In the left part of the top navigation bar, choose File > New File Manager Window to open a file manager window.

  2. In the right-side file list, find the file or folder that you want to download.

    • To download a folder, click Download in the Actions column corresponding to the folder.

    • To download a file, choose More > Download in the Actions column corresponding to the file.

    The message shown in the following figure indicates that the folder or file is downloaded.Downloaded

    Note
    • Files that do not exceed 100 MB in size can be downloaded.

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

Delete a file

Method 1: Delete a file by using a file navigator window

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

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

  3. In the Confirm Deletion message, click OK.

Method 2: Delete a file by using a file manager window

  1. In the left part of the top navigation bar, choose File > New File Manager Window to open a file manager window.

  2. In the right-side file list, find the file or folder that you want to delete and click Delete in the Actions column.

  3. In the Confirm Deletion message, click OK.

Windows instance

In the examples, an instance that runs Windows Server 2022 is used.

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.

  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.

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

    Important

    When you connect 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

  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.

  3. Copy a file from the C drive or another drive to the Download directory. After the file is copied, it is downloaded to the directory.

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.

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