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
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:
To upload files from or download files to an on-premises Linux or macOS computer, perform the operations that are described in Use SFTP or SCP to upload or download files or Use SCP commands to transfer files to or from a Linux instance.
To upload files from or download files to an on-premises Windows computer, perform the operations that are described in Use WinSCP to upload or download a file.
Windows instance: Perform operations that are described in Use mstsc.exe to upload a file to a Windows instance.
Linux instance
Upload a file
In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.
In the file tree, right-click the location to which to upload a file and select Upload File.
Select the file that you want to upload.
The message shown in the following figure indicates that the file is uploaded.
NoteIf 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
In the left part of the top navigation bar, choose File > New Navigator to open a file navigator.
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.
NoteIf 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
In the search box, enter This PC.
In the Redirected drives and folders section, double-click the workbench on <Your Alibaba Cloud account> drive.
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.
Drag the file from the directory to the C drive or another drive.
ImportantWhen 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
Empty files cannot be downloaded.
In the search box, enter This PC.
In the Redirected drives and folders section, double-click the workbench on <Your Alibaba Cloud account> drive.
Drag a file from the C drive or another drive to the Download directory to download the file to your on-premises computer.
References
After you upload files to an ECS instance, you can back up the files. For more information, see Create a snapshot for a disk.
You can use Object Storage Service (OSS) to store and manage files. For more information, see Get started by using the OSS console.