TechBuzzPro

How to Set Up an FTP Server on Windows (10/11)

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can turn any Windows 10 or 11 PC into an FTP server using the built-in IIS (Internet Information Services) feature—no third-party software needed. This guide walks you through enabling IIS, configuring an FTP site, and setting up Windows Firewall so others can connect. You'll need administrator access on the PC and a router that allows port forwarding (if you want access from outside your local network).

What You'll Need

  • A Windows 10 or 11 PC with administrator privileges.
  • A folder on your hard drive that will be shared via FTP.
  • The PC's IP address (local or public) and, if connecting over the internet, a router that supports port forwarding.
  • Optional: a static IP address for the PC so the FTP address doesn't change.

Step-by-Step

  1. Enable IIS and FTP features: Open the Control Panel (search for it in the Start menu). Go to Programs > Turn Windows features on or off. In the list, expand Internet Information Services and check the box for FTP Server (which includes FTP Service and FTP Extensibility). Also check Web Management Tools > IIS Management Console if it isn't already checked. Click OK and wait for the installation to finish.
  2. Open IIS Manager: Press Win + R, type inetmgr, and press Enter. This opens the Internet Information Services (IIS) Manager.
  3. Create an FTP site: In the left sidebar, right-click your computer's name (the top node) and select Add FTP Site.
  4. Set site name and content folder: Give the site a name (e.g., "MyFTP"). In the Physical path field, browse to the folder you want to share (or type its full path, like C:\FTP\Shared). Click Next.
  5. Configure binding and SSL: In the Binding section, leave the IP address as All Unassigned or choose a specific IP if you have one. Set the Port to 21 (the default FTP port). For SSL, select No SSL unless you have a certificate—most home setups use No SSL for simplicity. Click Next.
  6. Set authentication and authorization: In the Authentication section, check Basic to require a username/password. (Anonymous is not recommended unless you're on a trusted network.) In Authorization, choose Specified users and enter the Windows username(s) that should have access. For Permissions, check Read and optionally Write if you want users to upload files. Click Finish.
  7. Allow FTP through Windows Firewall: Open Windows Security (search for it in Start), go to Firewall & network protection, and click Allow an app through firewall. Click Change settings, then Allow another app. Browse to C:\Windows\System32\svchost.exe (or you can just add the FTP service by name if it appears). If it doesn't appear, you can manually add a rule for ports 21 and 20. Alternatively, run an elevated Command Prompt and type: netsh advfirewall firewall add rule name="FTP" dir=in action=allow protocol=TCP localport=20,21. This opens the necessary ports.
  8. Test locally: On the same PC, open File Explorer and type ftp://localhost in the address bar. You should see a login prompt. Enter the username and password you set. If you can see the folder contents, the server is working.
  9. Find your PC's IP address: To connect from another device on your network, you need the PC's IP. Open Command Prompt and type ipconfig. Look for the IPv4 address (e.g., 192.168.1.10). On another device, open a browser or file manager and go to ftp://192.168.1.10.
  10. Set up port forwarding (for internet access): If you want to access the FTP server from outside your home network, log into your router's admin page (typically at 192.168.1.1), find the Port Forwarding section, and create a rule that forwards TCP port 21 (and possibly port 20 for active mode) to the local IP address of your Windows PC. You'll also need to know your public IP (search "what's my IP" in a browser) and use that in the FTP address. Note: your public IP may change unless you have a static IP from your ISP.

Common Mistakes

  • Forgetting to enable FTP in Windows Features: If you skip the first step, IIS Manager won't have the "Add FTP Site" option.
  • Using the wrong folder path: Make sure the folder exists and you have permission to access it.
  • Not opening firewall ports: If the server works locally but not from another PC, the firewall is usually the culprit.
  • Setting the IP to a specific address that changes: If you select a specific IP in the binding and your PC's IP changes (DHCP), the server will stop working. Use "All Unassigned" or set a static IP.
  • Choosing "Anonymous" without understanding the risk: Anonymous access lets anyone on the network read/write files—only use it on trusted networks.

Tips

  • Use a static IP address for your PC to avoid the FTP address changing after a router reboot.
  • For better security, create a dedicated Windows user account for FTP access instead of using your main admin account.
  • If you're behind a router, consider using a dynamic DNS service (like No-IP or DuckDNS) so you can use a hostname instead of a changing public IP.
  • To transfer large files, FTP is fine, but for a more secure option, consider SFTP (which uses SSH) or FTPS (FTP over SSL) if you're comfortable with certificates.
  • You can create multiple FTP sites with different folders and ports if needed.

Troubleshooting

  • Can't connect from another device on the same network? First, test locally (ftp://localhost). If that works, check the firewall rule—make sure ports 20 and 21 are open for inbound connections. Also, verify the other device is on the same subnet (e.g., both 192.168.1.x).
  • FTP site doesn't appear in IIS Manager? You may not have installed the FTP Server feature correctly. Re-run the Windows Features wizard and ensure "FTP Server" is checked.
  • Login fails with "530 User cannot log in"? The username/password you're using may not have permission in the FTP site's authorization settings, or the Windows user account is disabled or has no password. Ensure the user is allowed in the FTP site's "Authorization" rules and that the account is active.
  • Passive mode issues? If you can connect but directory listing times out, your router may not be handling passive FTP. In the FTP client, switch to "Active" mode, or configure the IIS FTP firewall settings (under the FTP site's "FTP Firewall Support") to use a range of passive ports and forward those on your router.
  • Windows Firewall blocks even after adding a rule? Some third-party antivirus/security software has its own firewall. Check that software's settings and allow FTP traffic.
  • I can connect but get a "Permission denied" error when uploading? Make sure the Windows user has write permission to the folder at the NTFS level (right-click folder > Properties > Security) and that the FTP site's authorization includes "Write" permission.

Frequently Asked Questions

Do I need to install any third-party software?

No. Windows includes an FTP server component via IIS, which is free and built-in.

Can I use FTP to share files with friends over the internet?

Yes, but you'll need to set up port forwarding on your router and know your public IP. Be aware that standard FTP is not encrypted, so it's not recommended for sensitive data.

How do I stop the FTP server?

Open IIS Manager, select your FTP site, and click Stop in the right-hand Actions pane. You can also disable the FTP service via Services (services.msc) by setting its startup type to Disabled.

Can I have multiple FTP sites on the same PC?

Yes, you can create multiple FTP sites in IIS, each with a different folder and port (or hostname).

Is FTP the same as SFTP?

No. FTP sends data in plain text. SFTP (SSH File Transfer Protocol) encrypts everything. Windows' built-in FTP server does not support SFTP; you'd need separate software (like OpenSSH) for that.

Why can't I connect from my phone's FTP app?

Make sure your phone is on the same Wi-Fi network as the PC (for local access). Also, check that the FTP address includes the correct port if you changed it from 21. Some apps require you to specify "ftp://" in the address.