How to do it...

  1. Log in to Windows Server 2016 with an administrator account.
  2. Open Server Manager.
  3. You have to click on Tools and go to IIS Manager. Open IIS Manager, and right-click on WIN2016IIS, as shown here:
  1. Click on Add FTP site, and you will get the FTP Site Information window, as shown here:
  1. We've added an FTP site called myftp. Select the local default ftproot folder, C:inetpubftproot. You can also create your own folder anywhere on the server. Click on Next, and you will get the Binding and SSL Settings window, as shown here:
  1. Here, you can provide a dedicated IP address for the FTP site. We are keeping it at the default All Unassigned and default port 21 (you can also create a custom port number for the FTP site if you need, but you need to configure a firewall rule for the custom port).

 

 

  1. Here, we can secure the website. You have the options No SSL, Allow SSL, and Require SSL. Let's select the default option Require SSL:
  1. Now you can see that we get all our previously created SSL certificates listed. If you need a secure FTP site, you can select any one of the SSL certificates and use the following steps to create an SSL FTP site. We will go ahead with the No SSL option. After selecting the No SSL option, click on Next. You will get the Authentication and Authorization Information, as shown here:
  1. Let's select Anonymous authentication and Anonymous user authorization and provide permissions to Read and Write. Now an anonymous user can download and upload files on FTP. Click on Finish.
When you create an FTP server with anonymous access, it means your FTP site is unsecured, and anyone can get access to it.

I recommend you never create any FTP site with anonymous access; unauthorized users can harm your FTP server. FTP servers, whether configured over secure or normal protocols, must be restricted at least to allow only authorized user access.

  1. Let's go to IIS Manager. Expand the Sites folder, and you will see the myftp site created:
  1. Go to the Actions pane of the myftp site and click on Bindings. You will get the bindings window, as shown here:
  1. Click on Type: dropdown in the Add Site Binding window, and you will see that we have options to select http, https, and ftp. You can set the site binding to ftp if you have an existing site.
  2. The basic properties are the same as the website properties, which we discussed in earlier chapters. Click on the Advanced Settings... option, and you will get the Advanced Settings... window, as shown here:
  1. You need to set the connection properties here. You can create more specific connections if you want to, but we'll keep it default. Click on OK to close the Advanced Settings... window of the myftp site.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.100.180