> ## Documentation Index
> Fetch the complete documentation index at: https://docs.edisglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect to FTP on Windows Server

> Learn how to set up an FTP server on Windows Server. This step-by-step guide shows you how to easily upload and download files using IIS FTP features.

## Install FTP for easy file uploads and downloads

Setting up an FTP (File Transfer Protocol) server on Windows Server allows you to easily upload and download your files from your server. This guide will walk you through the steps to enable and configure an FTP server using the built-in IIS (Internet Information Services) feature on Windows Server.

## Prerequisites:

* Windows Server version (2019, 2022, 2025, or later) (180-days trial).
* Administrative privileges.

## Installation of FTP server

To begin, you'll need to install the FTP server role and components through the **Server Manager**.

**Open Server Manager** from the Start menu.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-m-ID3_harpNieumj71xmR-20241209-083126.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=1545297f719dea2d3861efa9cd9d96ee" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="1918" height="1197" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-m-ID3_harpNieumj71xmR-20241209-083126.png" />

In the **Manage** menu, click **Add Roles and Features**.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-6mHJyfqCzvFI0yOBJdmyu-20241209-084138.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=8ac44f982ed0db1f54992dc2a54fd05e" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="1917" height="1197" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-6mHJyfqCzvFI0yOBJdmyu-20241209-084138.png" />

Navigate to the **Role-based or feature-based installation** and select your server.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-uiUJgyJqRDGDPhdr3tTDY-20241209-084956.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=77abc8328c49f8c18ea11c82ec66c15b" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="781" height="548" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-uiUJgyJqRDGDPhdr3tTDY-20241209-084956.png" />

In the **Roles** section, find and expand **Web Server (IIS)**.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-4HyuYNwuMPqXwcUn9qVth-20241209-090055.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=135d35fbeb9d13b5a11c41ba8245c293" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="778" height="554" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-4HyuYNwuMPqXwcUn9qVth-20241209-090055.png" />

In the **Web server role (IIS)** section and **Role Services**, ensure **FTP Service** and **FTP Extensibility** are selected.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-YZB3ulx9lnGsRMi7-saJu-20241209-090552.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=62f13b32ec5bc30f335062165e2faa0b" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="778" height="558" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-YZB3ulx9lnGsRMi7-saJu-20241209-090552.png" />

Click **Next** and then **Install**.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-vHh-XD-87HTkWvP90NhqK-20241209-091536.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=e2f824b8d0db4af0f3460c3b52bf5521" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="777" height="556" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-vHh-XD-87HTkWvP90NhqK-20241209-091536.png" />

## Configuration of FTP server

Open **Internet Information Services (IIS) Manager** by typing "IIS" in the Start menu.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-Zs2ISlwaroBQ_gHIGfLJ3-20241209-091930.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=4ceaf0893dc955b792e07d1ba18171b7" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="1918" height="1197" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-Zs2ISlwaroBQ_gHIGfLJ3-20241209-091930.png" />

In the left panel, expand the server node, and right-click on **Sites**. Select **Add FTP Site**.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-khc5jlI0EOQcl_9RO9bls-20241209-092134.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=a0ba78ecb5a720ad7367d61ce197d6d8" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="1416" height="831" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-khc5jlI0EOQcl_9RO9bls-20241209-092134.png" />

In the **FTP site name** field, provide a name for your FTP site.

For the **Physical path**, select the folder where you want to store your files. You may create a dedicated folder for FTP.

Click **Next**.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-Noz_blB9uMvjz5ZQZ0ezD-20241209-092426.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=e613bc0571c23c366c79ea84d8ab910f" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="1421" height="833" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-Noz_blB9uMvjz5ZQZ0ezD-20241209-092426.png" />

Next, configure how users will connect to your FTP server.

Under **IP address**, choose the server's IP address or select **All Unassigned**.

For **Port**, use the default FTP port (21). If you want to use a secure connection (FTPS), you can opt for port 990, but you need to configure SSL certificates.

Under **SSL**, you can choose between:&#x20;

* **No SSL**: Standard FTP (not secure).
* **Allow SSL**: Optionally use SSL if available.
* **Require SSL**: Force all connections to use SSL encryption (recommended for security).

Click **Next**.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-GqdYcitDC8Je7umct7NEO-20241209-092655.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=4e1cdbea8776124eff2e3564a448ebfd" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="1422" height="837" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-GqdYcitDC8Je7umct7NEO-20241209-092655.png" />

Now, you’ll configure the authentication and access control for the FTP server.

In the **Authentication** section, select **Basic Authentication**. This requires users to enter a username and password to access the FTP site.

Under **Authorization**, select who can access the FTP server. You can allow access to:&#x20;

* **All users**: Anyone can connect.
* **Specified users**: Only specific users can access.
* **Anonymous users**: No authentication required, which is not recommended for sensitive data.

Choose **Read** or **Read/Write** permissions, depending on whether you want users to upload files or only download them.

Click **Finish**.

<img src="https://mintcdn.com/edisglobal-b1e34a56/9TSyAo-SUko4yblb/assets/1sSq3fI0sZJj8Zc4RoSr4-gR4yjMr_7PO4_io99XWrp-20241209-093015.png?fit=max&auto=format&n=9TSyAo-SUko4yblb&q=85&s=60e6c9fa610ace444ef7e7856756b39a" alt="FTP Server on Windows. Download Data from Windows ServerExample..." width="1422" height="837" data-path="assets/1sSq3fI0sZJj8Zc4RoSr4-gR4yjMr_7PO4_io99XWrp-20241209-093015.png" />

**To ensure the server is set up correctly, test it by accessing the FTP server using an FTP client or File Explorer.**

1. Open File Explorer and enter the FTP address in the format ftp\://\<server-ip> or ftp\://\<hostname>.
2. Enter your FTP credentials (if required) and check if you can connect and view files.

**If you are accessing the FTP server remotely, ensure that the necessary firewall ports (21 for FTP and 20 for data transfer) are open.**

1. Go to **Control Panel** > **Windows Defender Firewall** > **Advanced Settings**.
2. Select **Inbound Rules** and click **New Rule**.
3. Choose **Port**, enter port 21 for FTP, and follow the prompts to allow inbound traffic.
4. If using FTPS (SSL), ensure port 990 or the range of passive ports is opened.

**If your FTP server will be accessed over the internet, you may need to enable Passive Mode for better connectivity through firewalls.**

1. In **IIS Manager**, select your FTP site and click on **FTP Firewall Support**.
2. Enable **Passive Mode** and specify the range of ports to use for data transfer (for example, 1025-65535).
3. Ensure these ports are open on your firewall.
