Differences
This shows you the differences between the selected revisions of the page.
| guide_windows_ftps_server 2021-11-04 | guide_windows_ftps_server 2026-02-03 (current) | ||
| Line 1: | Line 1: | ||
| ====== Installing a secure FTP server on Windows using IIS ====== | ====== Installing a secure FTP server on Windows using IIS ====== | ||
| - | You may want to install a secure FTP server on Windows either as standalone file storage or to have means of editing your website hosted on IIS (Internet Information Services) web server. In both cases, you can use an optional //%%FTP%% Server// component of the %%IIS%%. It can be installed standalone or along with a //Web Server//.((This guide is partially based on article [[https://docs.microsoft.com/en-us/archive/blogs/mast/setting-up-a-passive-ftp-server-in-windows-azure-vm|Setting up a Passive FTP Server in Windows Azure VM]].)) | + | You may want to install a secure FTP server on Windows either as standalone file storage or to have means of editing your website hosted on IIS (Internet Information Services) web server. In both cases, you can use an optional //%%FTP%% Server// component of the %%IIS%%. It can be installed standalone or along with a //Web Server//.((This guide is partially based on article [[https://learn.microsoft.com/en-us/archive/blogs/mast/setting-up-a-passive-ftp-server-in-windows-azure-vm|Setting up a Passive FTP Server in Windows Azure VM]].)) |
| ===== Installing FTP Server ===== | ===== Installing FTP Server ===== | ||
| - | ==== On Windows Server 2022, Windows Server 2019, Windows Server 2016 and Windows Server 2012 ==== | + | ==== On Windows Server (2022, 2019, 2016 and 2012) ==== |
| * In Windows //Server Manager// go to //Dashboard// and run //Manage > Add Roles and Features//. | * In Windows //Server Manager// go to //Dashboard// and run //Manage > Add Roles and Features//. | ||
| Line 24: | Line 24: | ||
| Skip to the [[#opening_iis_manager|next step]]. | Skip to the [[#opening_iis_manager|next step]]. | ||
| - | ==== On Windows Server 2008 R2 ==== | + | ==== On Windows Desktop (11, 10, 8 and 7) ==== |
| - | + | ||
| - | If you do not have %%IIS%% installed yet: | + | |
| - | + | ||
| - | * In Windows //Server Manager// go to //Roles// node and in //Roles Summary// panel click //Add Roles//. | + | |
| - | * In //Add Roles// wizard: | + | |
| - | * Proceed to //Server Roles// step and check //Web Server (%%IIS%%)// role. | + | |
| - | * Proceed to //Role Services// step and check //%%FTP%% Server > %%FTP%% Service// role service. Uncheck //Web Server// role service, if you do not need it. Make sure //Management Service > %%IIS%% Management Console// role service is checked. | + | |
| - | * Proceed to the end of the wizard and click //Install//. | + | |
| - | * Wait for the installation to complete. | + | |
| - | + | ||
| - | If you have %%IIS%% installed already (i.e. as a Web Server): | + | |
| - | + | ||
| - | * In Windows //Server Manager// go to //Roles// node and in //Web Server (%%IIS%%) > Role Services// panel click //Add Role Services//. | + | |
| - | * In //Add Role Services// wizard: | + | |
| - | * Check //%%FTP%% Server > %%FTP%% Service// role service. | + | |
| - | * Make sure that //Management Service > %%IIS%% Management Console// is checked. | + | |
| - | * Confirm with //Next// button. | + | |
| - | * Proceed to the end of the wizard and click //Install//. | + | |
| - | * Wait for the installation to complete. | + | |
| - | + | ||
| - | &screenshotpict(iis_install_win2008r2_service) | + | |
| - | + | ||
| - | &win2008r2 | + | |
| - | + | ||
| - | Skip to the [[#opening_iis_manager|next step]]. | + | |
| - | + | ||
| - | ==== On Windows Desktop (Windows 11, Windows 10, Windows 8, Windows 7 and Windows Vista) ==== | + | |
| * Go to //Control Panel > Programs > Programs and Features > Turn Windows features on or off//. &wincp | * Go to //Control Panel > Programs > Programs and Features > Turn Windows features on or off//. &wincp | ||
| Line 62: | Line 35: | ||
| &screenshotpict(iis_install_win10) | &screenshotpict(iis_install_win10) | ||
| - | &winvista &win7 &win8 &win10 | + | &win7 &win8 &win10 &win11 |
| ===== [[opening_iis_manager]] Opening IIS Manager ===== | ===== [[opening_iis_manager]] Opening IIS Manager ===== | ||
| - | * Go to //Control Panel > System and Security > Administrative Tools// (//Windows Tools// on Windows 11) and open //Internet Information Services (%%IIS%%) Manager//. &wincp | + | * Go to //Control Panel > System and Security > Windows Tools// (//Administrative Tools// on Windows 10 and older) and open //Internet Information Services (%%IIS%%) Manager//. &wincp &win10 |
| * Navigate to your Windows server node. | * Navigate to your Windows server node. | ||
| Line 110: | Line 83: | ||
| An internal Windows firewall is automatically configured with rules for the ports 21, 990 and 1024-65535 when %%IIS%% %%FTP%% server is installed. | An internal Windows firewall is automatically configured with rules for the ports 21, 990 and 1024-65535 when %%IIS%% %%FTP%% server is installed. | ||
| - | The rules are not enabled initially on some versions of Windows.((The rules are enabled initially on Windows Server 2016 and newer.)) &win2016 To enable or change the rules, go to //Control Panel > System and Security > Windows Defender Firewall//((//Windows Firewall// on older versions of Windows.))// > Advanced Settings > Inbound Rules// &wincp &win10 and locate three "%%FTP%% server" rules. &wincp If the rules are not enabled, click on //Actions > Enable Rule//. | + | The rules are not enabled initially on some versions of Windows.((The rules are enabled initially on Windows Server 2016 and newer.)) &win2016 To enable or change the rules, go to //Control Panel > System and Security > Windows Defender Firewall//((//Windows Firewall// on older versions of Windows.))// > Advanced Settings > Inbound Rules// &wincp &win10 &win11 and locate three "%%FTP%% server" rules. &wincp If the rules are not enabled, click on //Actions > Enable Rule//. |
| ===== [[restart]] Restarting FTP Service ===== | ===== [[restart]] Restarting FTP Service ===== | ||
| Line 116: | Line 89: | ||
| While the internal Windows firewall is automatically configured to open FTP ports when %%FTP%% server is installed, this change does not seem to apply, until %%FTP%% service is restarted. The same is true for changing data channel port range. | While the internal Windows firewall is automatically configured to open FTP ports when %%FTP%% server is installed, this change does not seem to apply, until %%FTP%% service is restarted. The same is true for changing data channel port range. | ||
| - | To restart %%FTP%% service go to //Control Panel > System and Security > Administrative Tools// (//Windows Tools// on Windows 11) &win11 and open //Services//. Locate //Microsoft %%FTP%% Service// and click //Restart service//.((Try restarting whole system, if a service restart does not help.)) &wincp | + | To restart %%FTP%% service go to //Control Panel > System and Security > Windows Tools// (//Administrative Tools// on Windows 10 and older) &win10 and open //Services//. Locate //Microsoft %%FTP%% Service// and click //Restart service//.((Try restarting whole system, if a service restart does not help.)) &wincp |
| ===== Adding FTP Site ===== | ===== Adding FTP Site ===== | ||