All Products
Search
Document Center

:Use IIS to build multiple FTP sites on a Windows instance

Last Updated:Dec 23, 2022

This topic describes how to use Internet Information Services(IIS) to build multiple File Transfer Protocol (FTP) sites on a Windows instance.

Background information

IIS is a mainstream web server that provides benefits such as ease of use and high security. To use IIS to build multiple FTP sites, you can set different port numbers for the sites. For example, set port 21 as the default port number for the first FTP site and port 22 for the second FTP site.

Procedure

Note

You must install the IIS and FTP services on an instance before you can build an FTP site. For more information, see Manually build an FTP site on a Windows instance.

  1. Connect to the instance.

    For more information, see Connection methods.

  2. Open IIS Manager.

    1. In the left-lower corner of the Windows desktop, click the Start (Windows icon) icon. Then, find and click Server Manager.

    2. In the top navigation bar, choose Tools > Internet Information Services (IIS) Manager.英文1

  3. Create FTP sites.

    1. In the left-side navigation pane, choose <Hostname of the Windows instance> > Sites. Then, in the Actions column in the right part, click Add FTP Site.... 英文22

    2. Create the first FTP site, select the public IP address of the instance, and port 21 is used by default. 英文3

    3. Create the second FTP site and set the port number to 22. 英文4

  4. Set authorization rules for the FTP sites.

    Set the authorization and permission information and click OK. 英语5Configure the following parameters:

    • Authorization

      • All users: All users are allowed to access the shared folders corresponding to the FTP sites.

      • Anonymous users: Anonymous users can access the shared folders corresponding to the FTP sites.

      • Specified roles or user groups: Only specified roles or members of specified groups can access the shared folders corresponding to the FTP sites. Enter a role or group in the corresponding field.

      • Specified users: Only specified users can access the shared folders corresponding to the FTP sites. Enter a username in the corresponding field.

    • Permissions: Select both Read and Write.

  5. Test the connections to the FTP sites

    1. Install the FileZilla client. Start the client and configure the settings as shown in the following figures.

      imageimage

    2. Use ports corresponding to different FTP sites within the same FileZilla account to access the sites to test whether the created FTP sites are available.