Setting up an FTP server on Windows Server 2016
The instructions describe the summons of installing and configuring the FTP waiter on virtual machines run by the Windows Server 2016 manoeuver system, setting up the work of the firewall and dividing the access area for different users .
What is it?
FTP ( File Transfer Protocol ) is an abbreviation of File Transfer Protocol. As the name implies, FTP is used to transfer files between machines on a network. You can use FTP to parcel files between a local personal computer and a outside server and to access on-line software archives .
Our manual will consider the choice of installing an FTP server as an IIS world wide web server character, alternatively, you can use other software, for exemplar, FileZilla Server, Titan FTP Server, Home Ftp Server, Ocean FTP Server .
Installing FTP server on Windows server
Open the Windows Server Control Panel and find the Add roles and features.
As the installation type, specify Role-based or feature-based installation .
Select your waiter from the server pond .
In the following window, check the IIS web server .
In the window that opens, click Add features .
In the future window Features do not select anything .
next in the Role services window, check the FTP server .
Install all selected features on the server using the Install release .
Creating an FTP site on a Windows server
open IIS Manager. Right-click on Sites and choice Add FTP Site from the menu .
Enter the site name and way to the directory .
next, select your IP address in the drop-down number. For encoding, check No SSL .
In the following window, select Basic for authentication. Authorization – specified roles or groups, enter the diagnose of the group of FTP users ( model of initiation below ). Check the desired read and write permissions and click the Finish button .
Your web site will appear in the tree structure of the Windows network server .
Create user group
Creating a Windows group is necessary to determine the users who will have access to the file transfer protocol server. Open Computer Management. In the menu on the right, choice Groups. Use the right sneak button to create a modern group ( New Group ) .
In the window that opens, enter the name of the group, a description if necessity. To add a drug user, cluck Add .
Enter a identify in the remark field, to check it, click Check Names. If Windows users exist, suction stop Ok .
After everything is added, create a group using the Create button .
User isolation
In order for each user to get to his own directory and not have access to early files after connecting to the waiter, it is necessity to set up isolation. To do this, open your file transfer protocol site settings and choice FTP User Isolation .
Select the User name directory and chatter Apply .
then, using the properly sneak button, open the menu of your ftp web site and choose Add Virtual Directory.
In the Alias field, enter a nickname or name, in the path field enter the way to the drug user directory, to do this, create a subdirectory in the ftp site directory on your Windows waiter. Click Ok .
To configure permissions in IIS Manager, expand the hierarchical social organization of your ftp server. Using the right sneak button, open the Windows virtual directory menu and blue-ribbon Edit Permission .
Click the Security pill and click the Advanced clitoris .
In the windowpane that opens, click the Disable inheritance push button, select the first base choice in the new window, and then click Apply – Ok.
return to the Security pill and click the Edit button .
Select the Users group in which all users are located and click the Remove button. This is necessary sol that entirely the owner of the directory has access to it .
now add a Windows exploiter who will have full access to the directory. Click the Add push button .
Enter the username of the virtual directory in the input field, to check it, suction stop Check Names. If users exist, cluck Ok .
Next you need to add rights for complete control of the directory. Select the created exploiter and check all fields Allow ( Permissions ) .
adjacent, click Apply – Ok .
Firewall Setup
For an external connection to the ftp server, you must configure the firewall. To do this, clear Windows Firewall with Advanced Security. In the upright menu on the left, choice Inbound rules, then in the vertical menu on the right New Rule .
In the window that opens, check the Predefined type and blue-ribbon FTP Server from the drop-down list. Click Next .
Tick all the lines and snap Next .
In the adjacent step, blue-ribbon Allow the connection and snap Finish. For these rules to take consequence – restart the server .
Connect to an FTP server
You can connect to an FTP server in respective ways, for example, through the standard Windows utility program – explorer, or through the FileZilla program .
Consider connecting through Explorer. In the address cake, insert :
ftp: // ip address
For exemplar ,
ftp://83.166.245.89
The login and password input signal window will open, specify the connection data from the waiter control condition jury .
note : The IIS web server allows you to flexibly configure the connection to the FTP waiter, for exemplar, to divide the visibility of space for different users, to enable anonymous access and to configure permissions .
As a result, you will see the contents of the FTP server folder :
note : the built-in ftp waiter of the IIS web server has many features, such as : user isolation, SSL support, limitation of login attempts to the waiter, logging with assorted parameters .