Build the FTP Service

Last updated: 2019-10-16 16:18:12

PDF

Scenario

This document uses FileZilla as an example to describe how to set up the FTP service on a Windows CVM. You can also get images from the service marketplace to skip the installation and configuration part. For details, please go to Cloud Marketplace.

Downloading File

FileZilla is a fast, reliable, cross-platform software which supports FTP, FTPS and SFTP. It has a graphical user interface (GUI) and many features. It is easy to use and supports multiple protocols.
Click here to download FileZilla Server for Windows. Click here to download FileZilla Client for Windows.

Directions

  1. Log in to the CVM.
  2. Download and run the FileZilla Server installer.
  3. Read the license agreement and click I Agree.
  4. Select the type of install (use the default) and click Next as shown below:
  5. Select the install location and click Next.
  6. Select the startup mode of FileZilla Server, choose the port, and click Next as shown below:
    Normally you can select the default startup mode and a port that is not occupied.
  7. Click Install and start FileZilla Server.
  8. In the pop-up window, fill in the following information and click Connect to connect to FileZilla server as shown below:
    • Host: enter 127.0.0.1
    • Port: fill in the port you configure in [Step 6] (#step2) such as 14147.
  9. In the FileZilla Server window, click to open the Users window.
  10. In the Users window, click Add, and you will see an Add User Account dialog box as shown below:
  11. Enter a user name in the dialogue box and click OK.
    For example, you can enter “tencent-qcloud”.
  12. In the User window, select Password, set a password for the new user, and click OK as shown below:
  13. In the pop-up window, click OK.
  14. In the Shared folders column, click Add to add a user directory as shown below:
  15. Select the FTP resource directory and click OK as shown below:
    For example, select the Tencent-Qcloud directory as the FTP resource directory and place a Welcome to Tencent Cloud Server.txt file in the directory for Testing the FTP Service.
  16. In the Shared Folders column, set the permissions for user's operations on the FTP resource directory as shown below:
  17. Click OK to complete the setup of the FileZilla FTP service.

Testing the FTP Service

  1. On your local PC, install and open the FileZilla client.
  2. Enter the public IP address of the CVM, the FTP username and the password, and click Quickconnect. You will be able to see the directory the FileZilla server shares with the user and the "Welcome to Tencent Cloud Server.txt" file placed in the directory. See the figure below:
  3. Switch to the FileZilla server and you will be able to monitor the connection with the FileZilla client as shown below: