How to Set Up an FTP Server on Windows 11

If you frequently need to transfer files between computers, devices, or networks, setting up an FTP (File Transfer Protocol) server on your Windows 11 PC can be incredibly useful. It allows you to host files, share data securely, and manage remote access directly from your system — without relying on third-party services.

In this guide, we’ll walk you through how to install, configure, and test an FTP Server on Windows 11, step by step. Whether you want to host files locally or allow remote access, you’ll find everything you need here.

What Is an FTP Server?

An FTP server is a dedicated file-sharing system that uses the File Transfer Protocol (FTP) to send and receive files between a host (server) and clients over a network or the internet.

Common Uses of an FTP Server:

  • Hosting and sharing files across local or remote devices.
  • Uploading and downloading large files efficiently.
  • Backing up website files or software updates.
  • Providing secure remote access for collaborators or clients.

Windows 11 includes Internet Information Services (IIS) with a built-in FTP service, making it simple to set up and use.

Step 1: Install the FTP Server Feature on Windows 11

To host an FTP server, you first need to enable IIS (Internet Information Services) and the FTP Server components.

  1. Press Windows + R, type optionalfeatures, and press Enter.
    This opens the Windows Features dialog box.
  2. Scroll down and expand Internet Information Services (IIS).
  3. Expand FTP Server, and check both:
    • FTP Service
    • FTP Extensibility
  4. Under Web Management Tools, ensure IIS Management Console is also selected.
  5. Click OK to install.
  6. Wait for the installation to finish and then close the dialog.

Tip: You can also install it using PowerShell:

Enable-WindowsOptionalFeature -Online -FeatureName IIS-FTPServer, IIS-FTPExtensibility, IIS-ManagementConsole -All

Step 2: Create a Folder for FTP File Storage

You’ll need a dedicated folder to store the files you plan to share through your FTP server.

  1. Open File Explorer.
  2. Create a new folder — for example: C:\FTP-Share
  3. Right-click the folder → Properties → Security tab.
  4. Click Edit → Add, and type the username that will access the FTP server (e.g., your Windows account).
  5. Give Modify and Read & Execute permissions → click OK.

Pro Tip: Keep your FTP folder on a separate drive or partition for easier management and backup.

Step 3: Set Up the FTP Site in IIS Manager

Now that the FTP service and folder are ready, you’ll configure the actual FTP site in IIS Manager.

To Open IIS:

  1. Press Windows + S and search for IIS Manager or inetmgr.
  2. In the left pane, expand your computer name.
  3. Right-click Sites → Add FTP Site.

Configure FTP Site:

  1. Enter a Site name (e.g., MyFTPServer).
  2. In the Physical path, browse to the folder you created earlier (C:\FTP-Share).
  3. Click Next.

Step 4: Configure FTP Binding and SSL Settings

Binding Configuration:

  1. Choose the IP address your server will use (you can leave it as All Unassigned).
  2. Set Port to 21 (default FTP port).
  3. For SSL:
    • Choose No SSL if you’re testing locally.
    • For production use, select Require SSL and install an SSL certificate for encryption.
  4. Click Next.
  5. Tip: If you plan to access your FTP server remotely, make sure port 21 is open in your router or firewall.

Step 5: Configure Authentication and Authorization Rules

Authentication:

  1. In the Authentication window, choose Basic.
    This allows user-based access with a username and password.

Authorization:

  1. Select Specified users.
  2. Enter the Windows username(s) you want to grant access to.
  3. Choose permissions:
    • Read (for download only)
    • Read and Write (for upload and download)
  4. Click Finish.

You’ve now created your first FTP site!

Step 6: Allow FTP Through Windows Firewall

Windows Firewall can block incoming connections to your FTP server, so you’ll need to create an exception.

  1. Open Control Panel → System and Security → Windows Defender Firewall → Allow an app through Windows Firewall.
  2. Click Change settings.
  3. Scroll down and enable:
    • FTP Server
    • FTP Service
  4. Ensure both Private and Public boxes are checked.
  5. Click OK to save.

Alternatively, run these PowerShell commands:

netsh advfirewall firewall add rule name="FTP" action=allow protocol=TCP localport=21
netsh advfirewall firewall add rule name="FTP Passive Ports" action=allow protocol=TCP localport=1024-1048

Tip: FTP uses port 21 for commands and additional ports (like 1024–1048) for data transfer.

Step 7: Test the FTP Server Locally

You can test whether your FTP server is working using your browser or File Explorer.

  1. Open File Explorer.
  2. In the address bar, type: ftp://localhost
  3. Press Enter.
  4. When prompted, enter your Windows username and password.

If you see your FTP folder and can open files — your server is working correctly!

Step 8: Access the FTP Server Remotely

If you want to access the FTP server from another device on your network:

  1. Find your PC’s local IP address using: ipconfig (Look for the IPv4 Address.)
  2. On another device, open File Explorer and enter: ftp://<Your-IP-Address> Example: ftp://192.168.1.50
  3. Enter your credentials when prompted.

For external access (over the internet), you’ll need to:

  • Forward port 21 in your router’s settings to your Windows 11 PC.
  • Use a static IP or a Dynamic DNS (DDNS) service.

Step 9: Configure Passive Mode (Optional but Recommended)

Passive mode helps clients connect through firewalls or NAT routers.

To enable it:

  1. Open IIS Manager.
  2. Select your FTP Site → FTP Firewall Support.
  3. Under Data Channel Port Range, enter: 1024-1048
  4. In External IP Address, enter your public IP or DDNS hostname.
  5. Click Apply on the right pane.

Step 10: Secure Your FTP Server with SSL (Optional)

For secure file transfers, configure FTPS (FTP over SSL).

To enable SSL:

  1. Obtain or create a valid SSL certificate (self-signed works for testing).
  2. In IIS Manager → FTP Site → FTP SSL Settings, choose:
    • Require SSL connections.
    • Select your certificate under SSL Certificate.
  3. Click Apply.

Now, your FTP server uses FTPS for encrypted transfers.

Common FTP Client Tools

To connect and manage your FTP server easily, you can use:

  • FileZilla (Free and reliable FTP client).
  • WinSCP (Great for secure file transfers).
  • Cyberduck (Simple and modern interface).

Command line access:

ftp <IP_Address>

Wrapping Up

Setting up an FTP Server on Windows 11 is easier than you might think — thanks to the built-in IIS FTP service.

With this setup, you can host files, share data, and access your content remotely — securely and efficiently. Whether you’re sharing project files across your network or hosting uploads for clients, your FTP server can handle it all.

Just remember to:

  • Enable FTP features in IIS.
  • Configure permissions carefully.
  • Secure your setup with SSL for safe data transfers.

Once configured, your Windows 11 PC becomes a fully functional FTP hosting system ready for local and remote file sharing.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.

X