Help Center > > FAQs> File Uploading> How Can I Use WinSCP to Upload a File to a Linux ECS?

How Can I Use WinSCP to Upload a File to a Linux ECS?

Updated at: Mar 17, 2020 GMT+08:00

WinSCP is generally used to upload files to Linux ECSs. This section describes how to upload a file from a local Windows computer to a Linux ECS using WinSCP.

The operations described in this section are performed in CentOS 7.2 as an example.

Prerequisites

The Linux ECS can access the Internet.

Solution

  1. Download WinSCP and install it. To download WinSCP, log in at https://winscp.net/eng/docs/start.
  1. Install WinSCP.
  2. Start WinSCP.

    Set parameters as follows:

    • File protocol: Either SFTP or SCP will do.
    • Host name: Enter the EIP bound to the ECS. Log in to the management console to obtain the EIP.
    • Port number: 22 by default.
    • User name: Enter the username for logging in to the ECS.
      • If the ECS is logged in using an SSH key pair,
        • The username is core for a CoreOS public image.
        • The username is root for a non-CoreOS public image.
      • If the ECS is logged in using a password, the username is root for a public image.
    • Password: the password set when you purchased the ECS or converted using a key.
  3. Click Login.
  4. After the login, drag a file from the local computer on the left to the remotely logged in ECS on the right for uploading.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel