Menu
User

DropVPS Team

Writer: Cooper Reagan

install ftp server on windows

install ftp server on windows

Publication Date

04/18/2025

Category

Articles

Reading Time

3 Min

Table of Contents

Setting up an FTP (File Transfer Protocol) server on your Windows machine can be a great way to share files easily and securely. Whether you need to transfer files between computers or allow remote access to your files, this guide will walk you through the installation process step by step.

Prerequisites

Before we begin, ensure that you have:

  • A Windows operating system (Windows 10, 11, or Windows Server).
  • Administrator access on the computer.
  • An active internet connection (for downloading any additional software, if needed).

Step 1: Enable the FTP Server Feature

Windows has a built-in FTP server feature that can be enabled through the Control Panel. Follow these steps:

  1. Open the Control Panel.
  2. Go to Programs > Turn Windows features on or off.
  3. In the Windows Features dialog, expand the Internet Information Services option.
  4. Expand FTP Server and make sure to check the following:
    • FTP Service
    • FTP Extensibility
  5. Click OK to install the feature.
# Windows PowerShell command to enable FTP server feature
Enable-WindowsOptionalFeature -Online -FeatureName IisFtpServer

Step 2: Configure the FTP Site

Once the FTP server feature is enabled, you need to configure your FTP site:

  1. Open IIS Manager. You can do this by typing inetmgr in the Run dialog (Win + R).

  2. In the Connections pane, right-click on Sites and select Add FTP Site.

  3. Enter a name for your FTP site and specify the physical path where the files will be stored.

    Example: C:\FTP

  4. Click Next.

  5. In the Binding and SSL Settings window:

    • Choose the IP address or leave it as All Unassigned.
    • Set the port to 21 (default FTP port).
    • For SSL, you can choose No SSL if you’re just testing.
  6. Click Next.

  7. In the Authentication section, select:

    • Basic authentication.
    • Under Authorization, choose who can access the FTP site (e.g., All users or specific users).
    • Set the permissions (Read, Write) as necessary.
  8. Click Finish to complete the setup.

Step 3: Configure Windows Firewall

To allow FTP connections through the Windows Firewall, follow these steps:

  1. Open Windows Defender Firewall from the Control Panel.
  2. Click on Advanced settings.
  3. In the left pane, select Inbound Rules.
  4. Click on New Rule in the right pane.
  5. Choose Port and click Next.
  6. Select TCP and specify the port 21, then click Next.
  7. Choose Allow the connection and click Next.
  8. Select the network profiles (Domain, Private, Public) as needed and click Next.
  9. Name your rule (e.g., FTP Port 21) and click Finish.

Step 4: Test Your FTP Server

To test your FTP server, you can use an FTP client like FileZilla or simply use the command prompt:

  1. Open the Command Prompt.
  2. Type the following command to connect to your FTP server:
    ftp localhost
  3. Enter the username and password you set during the FTP site configuration.

Conclusion

Setting up an FTP server on Windows is a straightforward process that can facilitate file sharing within your network or over the internet. By following the steps outlined above, you can have your FTP server up and running in no time. Remember to keep your server secure and monitor access to ensure your files remain protected. For more tips and guides, stay tuned to our blog at dropvps.com!

Windows VPS
U
Loading...

Related Posts