All Products
Search
Document Center

Elastic Compute Service:Upload and download files on the instance details page

Last Updated:Nov 18, 2025

You can upload files to or download files from an ECS instance directly in the ECS console without connecting to the instance. This feature also works for instances that do not have a public IP address.

Important

Note the following file size limits:

  • Upload: The maximum file size is 500 MB.

  • Download: The maximum file size is 500 MB for Linux instances and 100 MB for Windows instances.

Billing

This feature is free of charge.

Prerequisites

  • The ECS instance is Running.

  • If you are a Resource Access Management (RAM) user, you must grant the AliyunOOSFullAccess permission policy to the RAM user. This policy grants management permissions for CloudOps Orchestration Service (OOS). For more information, see Grant permissions to a RAM user.

Go to the feature page

Follow these steps to navigate to the feature page.

  1. Go to ECS console - Instances.

  2. In the upper-left corner of the page, select the resource group and region where the instance is located.

  3. On the Instances page, find the target instance and click its ID to go to the Instance Details page.

    image

  4. In the navigation pane on the left, choose Remote Commands/Files > Upload/Download File.

    image

Upload a file from your local computer to an ECS instance

  1. Click the Upload/Download button.

  2. On the Send File page, configure the following parameters and click Upload.

    Configuration Item

    Description

    Type

    To upload a file, select Upload File to ECS Instance.

    File (Required)

    Select the file to upload and select I agree to store the file in the temporary OSS bucket that Alibaba Cloud provides..

    Destination Path (Required)

    The destination path on the ECS instance where you want to save the file. The path must be an existing absolute path. The default paths are:

    • Linux: /root

    • Windows: C:\Users\Administrator\Documents

    File Description

    Enter a description for the file for identification.

    User

    Specify the user that owns the file.

    Note

    This parameter is available only for Linux instances.

    User Group

    Specify the user group that owns the file.

    Note

    This parameter is available only for Linux instances.

    Permission

    Set the permissions for the file. Use the same format as the chmod command.

    The default value is 0644. This value indicates that the file owner has read and write permissions, and users in the same group and other users have only read permissions.

    Note

    This parameter is available only for Linux instances.

    Overwrite

    Specify whether to overwrite a file that has the same name in the destination path.

    If you do not allow overwriting and a file with the same name exists in the path, the upload fails.

    Timeout

    Set the timeout period for the file transfer task. If the task times out, the task process is forcibly stopped.

    Value range: 10 to 86400. Unit: seconds. Default value: 60.

  3. After the file transfer is complete, you can find the uploaded file in the Destination Path on the instance.

    image

Download a file from an ECS instance to your local computer

  1. Click the Upload/Download button.

  2. On the Send File page, configure the following parameters, select I agree to store this file in a temporary OSS bucket., and click Download.

    Configuration Item

    Description

    Type

    To download a file, select Download File from ECS Instance.

    File

    The path of the file to download on the ECS instance. Examples:

    • Linux: /root/your_file.zip

    • Windows: C:\\Users\\Administrator\\your_file.zip (Windows requires double backslashes).

  3. After the download task is complete, click Temporary Download Link in the Actions column. Paste the link into your browser's address bar and press Enter to download the file.

    image