How to Setup an FTP Server in Windows ?
How to install the FTP server components
- Open Turn Windows features on or off.
- Expand the Internet Information Services feature and expand the FTP server option.
- Check the FTP Extensibility and FTP Service options.
- Expand the Web Management Tools option and check the IIS Management Console option.
- Click OK then Close.
How to configure an FTP server site
- Open Internet Information Services (IIS) Manager.
- On the Connections pane, right-click Sites and select the Add FTP Site option.
- In the FTP site name, type a short descriptive name for the server.
- In the Content Directory section, under Physical path, click the ... to locate the folder you want to use to store your FTP files.
- Click Next.
- If your server is using static ip address, type the server ip, otherwise use the default Binding settings selections.
- Check the Start FTP site automatically option and check the No SSL option In the SSL section.
- Click Next.
- In the Authentication section, check the Basic option.
- In the Authorization section, use the drop-down menu, and select All Users.
- Check the Read and Write options.
- Click Finish.
Quick Tip : It's recommended to create a folder in the root of the main system drive, or on an entirely different hard drive. Otherwise, if you set the home folder in one of your default folders when adding multiple accounts, users won't have permission to access the folder. (You can adjust folder permissions, but it's not recommended.)
Configuring firewall rules
- Open Allow an app through Windows Firewall.
- Click Change settings.
- Check the FTP Server option, as well as the options to allow Private and Public access.
Allowing external connections
- Open your default web browser.
- On the address bar enter the router's IP address (for example: 192.168.1.1) and press Enter.
- Sign-in with your router credentials.
- Open the Port Forwarding page. (Usually, these settings can be found under the WAN, NAT, or Advanced settings pages.)
- Add a new rule to forward incoming connections to the FTP server from the internet by including this information below.
- Click Add.
- Click Apply.
Service name : Type a descriptive name for the port forwarding rule
Port range : 21
Local IP : This is the FTP server IP address that the router will forward incoming connections
Local port : 21
Protocol : TCP
Setting up a static IP address
- Open View network connections.
- Right-click the network adapter, and select the Properties option.
- Select the Internet Protocol Version 4 (TCP/IPv4) option.
- Click the Properties button.
- Select the Use the following IP address option.
- Specify the IP settings.
- Click OK then Close.
How to set up multiple FTP accounts
- Run dialog : netplwiz.
- Click Add to add the user you want to allow access to the FTP server.
- Click OK.
Configuring user accounts to FTP server
- Open Internet Information Services (IIS) Manager.
- On the left pane, expand Site sand select the site you created earlier.
- Double-click the FTP Authorization Rules option.
- On the right pane, click the Add Allow Rule option.
- Select one of these two options below.
- Check the Read and Write options.
- Click OK.
All Users : Allows every user configured on your Windows 10 device to access the FTP server
Specified users : You can use this option to specify all the users you want to access the FTP server. (You must separate each user using a comma.)
How to connect to an FTP server remotely
Viewing and downloading files
- Open a web browser.
- In the address bar, type the server IP address using ftp:// and press Enter. (For example, ftp://192.168.1.100)
- Type your account credentials.
- Click the Log on button.
Viewing, downloading, and uploading files
- Open File Explorer.
- In the address bar, type the server IP address using ftp:// and press Enter.
- Type your account credentials.
- Check the Save password option.
- Click the Log on button.