You can transfer files to a Windows ECS instance from your local computer. Use the built-in Remote Desktop Connection on a Windows computer, or the Windows App on a macOS computer. This topic describes how to use both tools to transfer files.
Tools
-
Remote Desktop connection (MSTSC) for Windows
Remote Desktop Connection (MSTSC) is a built-in Windows tool for transferring files to a Windows ECS instance.
Limitations
Local operating system
Instance network requirements
File size limit
Transfer speed limit
File count limit
Windows only
Requires a public IP address or EIP
None
None
None
-
Windows App for macOS
The Windows App is an official remote connection tool from Microsoft. After installing it on a macOS device, you can transfer files to a Windows ECS instance.
Limitations
Local operating system
Instance network requirements
File size limit
Transfer speed limit
File count limit
macOS
Requires a public IP address or EIP
None
None
None
Before you begin
-
Check the instance status: Only instances in the Running state support the operations described in this topic.
-
Obtain the public IP address of the instance:
-
Check the security group of the instance: Before using Remote Desktop Connection or the Windows App to transfer files, ensure the instance's security group allows traffic on the Remote Desktop Protocol (RDP) port, which is 3389 by default.
Use Remote Desktop Connection to transfer files
If your local machine runs the Windows operating system, you can use the built-in Remote Desktop Connection tool, MSTSC (Microsoft Terminal Services Client), to upload local files to a Windows ECS instance.
For large or numerous files, we recommend compressing them into a single archive file before uploading. This improves transfer efficiency. For more information, see Compress and upload files.
Step 1: Connect and redirect a local drive
-
Press Win+R to open the Run dialog box. Type
mstscand press Enter to launch Remote Desktop Connection (MSTSC). -
In the Remote Desktop Connection dialog box, follow these steps to connect to your Windows ECS instance:
-
Click Show Options.
-
On the General tab, configure the following parameters:
-
Computer: Enter the public IP address or EIP of your Windows ECS instance.
-
User Name: Enter the user name. The default is Administrator.
-
-
On the Local Resources tab, select the Clipboard checkbox and click View Details.
-
Under Drives, select the checkbox for the drive where your files are stored, and then click OK.
-
Click Connect to connect to the Windows ECS instance. The remote desktop of the instance appears.
-
Step 2: Upload and download files
After connecting to the instance, you can find your local computer's drive in the instance's This Computer window. Double-click the drive to access your local files directly. You can move files from this directory to the Windows instance (upload) or move files from the instance to this directory (download).
-
Double-click the redirected drive on the instance.
This drive appears in the This Computer window, under the Redirected drives and folders section.
-
Upload a file to the ECS instance
This example shows how to upload a file to the instance's desktop. You can also use Ctrl+C and Ctrl+V to copy and paste files between your local Windows computer and the Windows instance.
After the upload is complete, you can see the uploaded file, such as
test.txt, in the instance's File Explorer. -
Download a file from the ECS instance
This example shows how to download a file from the instance's desktop. You can also use Ctrl+C and Ctrl+V to copy and paste files between your local Windows computer and the Windows instance.
In this example, a text document named test is on the instance's desktop. Drag and drop (or copy and paste) this file into the redirected local drive to complete the download.
Use the Windows App to transfer files
If your local computer runs macOS, you can use the Windows App to remotely connect to a Windows cloud server instance and transfer files to the instance. This topic uses a computer that runs macOS and the Windows App as an example.
For large or numerous files, we recommend compressing them into a single archive file before uploading. This improves transfer efficiency. For more information, see Compress and upload files.
Step 1: Download and install the Windows App
Click Windows App to download and install the Windows App from the Mac App Store.
Step 2: Connect to the instance
-
Open the Windows App and click in the upper-right corner.
-
On the Add PC page, enter the instance's IP address.
Enter the IP address in the PC name field. Keep the other settings at their default values and click Add.
-
Redirect a folder.
This step maps a local folder to the ECS instance, making its files accessible from the remote session. Follow these steps:
Click Folders, select Redirect folders, and then click the
icon. Follow the prompts to add the folder you want to redirect. The folder then appears in the list of redirected folders.This example uses the macOS Documents folder (
/Users/<username>/Documents). -
Click the Add button to finish adding the ECS instance.
-
On the devices page, find the ECS instance you just added. Double-click it and, when prompted, enter the instance's User Name and Password. Then, click Continue to connect. After the connection is established, the desktop of the Windows instance appears.
Step 3: Upload and download files
After connecting to the instance, you can find your local computer's drive in the instance's This Computer window. Double-click the drive to access your local files directly. You can move files from this directory to the Windows instance (upload) or move files from the instance to this directory (download).
-
Double-click the redirected drive on the instance.
Under This Computer in the Redirected drives and folders section, you can see the redirected folder from your local computer, such as Documents on U-K23YRH02-1940.
-
Upload a file to the ECS instance
This example shows how to upload a file to the instance's desktop. You can also use Ctrl+C and Ctrl+V to copy and paste files between your local macOS computer and the Windows instance.
Open File Explorer on the Windows instance. Drag the file, such as
test.txt, from the redirected local folder to the Windows instance desktop. -
Download a file from the ECS instance
This example shows how to download a file from the instance's desktop. You can also use Ctrl+C and Ctrl+V to copy and paste files between your local macOS computer and the Windows instance.
Drag a file from the instance's desktop to the redirected local folder in File Explorer, such as the Documents folder on U-K23YRH02-1940.
The downloaded file is then available in the redirected folder on your local computer.
References
-
After uploading files to a Windows ECS instance, you can back up important files. For more information, see Manually create a single snapshot.
-
You can also use Object Storage Service (OSS) to store and manage your files. For more information, see Console quick start.