Nowadays the FTP technology is awesome and we decided to show how to setup and access an FTP server in Windows 10 in a simple way.
How to create FTP server in Windows 10?
At first let’s create an FTP folder. This folder will be accessed by our FTP client. Create it on the desktop or you can create it anywhere on your PC. Once it done, press the Windows key + R to open the run window. In the following window type cmd and click OK to open the Command prompt.
Now type ipconfig and press Enter.
Right down you can see the IP address and default gateway IP.
We need this to configure an FTP server, but at first we have to install and configure IIS, so go to Control Panel. You should change to Small icons view and go to the Programs and Features.
Here Turn Windows features on or off, scroll down to Internet Information Services, expand it, expand FTP server. Now here check marks on Internet Information Services, Web Management Tools and World Wide Web Services. In addition, check marks on FTP Service and FTP Extensibility. After this, you just have to click OK to install the services. Once installation is finished close the window.
Now let’s create a new site and configure it. Go to Control Panel > Administrative Tools > Internet Information Services (IIS).
Here expand the root and expand the sites. Here is default site created, but we are going to create a new one. So, right click on Sites and select Add FTP Site.
Right after this, you have to name your FTP site and select the folder where the site will be created. In the following window, you will see a binding and SSL settings.
Binding IP Address by default is unassigned. So click on the drop down and select IP Address. Now we selected no SSL, but if you are using this on real environment, we suggest you Require SSL.
After that, you have to select a basic authorization and allow access to specified users. This user is a Windows user, the one you created when you installed Windows 10 or the one you are currently using. So, enter the username and select the proper permissions. Then just Finish.
Windows 10 is still a little buggy. Because of this new site did not show up. To fix it, we have to go and delete the one we have just created and do it once again. Now it is properly configured, it should come up under sites.
Now we have to allow FTP access in Windows firewall. Go to Control Panel > Windows Firewall > Allow an app or feature through Windows Firewall. In the following window click on Change settings and find FTP server. Check both marks on it and click OK to save settings. Now the firewall is properly configured. But anyway we have to turn off the Windows firewall to guarantee a connection.
Once it off, we need to create an FTP user. Go to Start> Settings > Accounts > Family & other users.
Add new user. Now enter the username and password. They must have a password, or they will not be able to connect. Now click on Next and your FTP user is already created.
Now select the newly created site on IIS and click on FTP Authorization Rules.
Here you will see the default user, the Windows user. We need to create another one. Right click on the empty space, add allow rule and here select Specified users and then add user you’ve just created (FTP-user). Also, select the proper permissions and click OK.
We need to add this user to the security settings of the folder. Right click on properties of the FTP-folder, then go to the security, edit it and add the newly created user.
Now make sure you have the user selected. In our case it is full control, in your case you should select the proper permissions. Click Apply and then OK to save.
Now we are ready to access this FTP. First, we will try accessing from the LAN. All you need to do is just type FTP:// and local IP Address of that machine (e.g. FTP://10.0.0.17). Press enter and you will be prompted to enter the username and password. Done. We have access to that folder via FTP on the LAN.
If you want to access from the PC outside of your network, you need to configure the router. Remember, enter the FTP:// and local IP Address. In addition, you have to enter the username and password.
Now look for port forwarding. Make sure that you enable port forward and at the servers FTP, TCP, UDP and start/end port is 21. Make sure to save it all. Once done, log out and go to the Google.com. You have to search “What is my IP address” and it will immediately provide you with the IP address. If not, you can also go the one of these links from the search and it will prompt you with the IP address.
Once done, write it down, because we are going to use it to access this FTP from outside of the network. Go to any computer outside of the network and type FTP:// IP address in the search bar. You should enter the username and password again and click OK.
You should be able to connect without any problems. Now you’ve created FTP server on Windows 10! If you have any questions, feel free to post them in the comments section below.