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.1)
Installing FTP Server
o On Windows Server 2012
o On Windows Server 2008 R2
o On Windows Desktop (Windows 10, Windows 8, Windows 7 and Windows
Vista)
Opening IIS Manager
Creating Certificate for the FTPS Server
Servers behind external Firewall/NAT
Windows Firewall Rules
Restarting FTP Service
Adding FTP Site
o To a Web Site
o Standalone FTP Site
Connecting to Your FTPS Server
Further reading
Edit
Edit
Note that Microsoft Azure Windows servers come with self-signed certificate, so you do
not need to create one.
Edit
When behind an external firewall, you need to open ports for data connections (obviously in
addition to opening an FTP port 21 and possibly an implicit TLS/SSL FTP port 990). You won’t
probably want to open whole default port range 1024-65535. In such case, you need to tell
the FTP server to use only the range that is opened on the firewall. Use a Data Channel Port
Range box for that. Any time you change this range, you will need to restart FTP
service. Learn how to open ports on Microsoft Azure.
Click Apply action to submit your settings.
Some external firewalls are able to monitor FTP control connection and automatically open and
close the data connection ports as needed. So you do not need to have whole port range
opened all the time, even when not in use. This won’t work with the secure FTPS as the
control connection is encrypted and the firewall cannot monitor it.
Edit
To a Web Site
If you want to add FTP server to manage your web site remotely, locate your web site node
in IIS Manager and:
Click Add FTP Publishing action.
In Add FTP Site Publishing wizard:
o On an initial Binding and SSL Settings step, selectRequire SSL to disallow non-
encrypted connections and select your certificate.
o On Authentication and Authorization Information step, select Basic authentication
and make sure Anonymousauthentication is not selected. Select which users
(Windows accounts) you allow to connect to the server with what permissions.
You can choose All users or select only some. Do not select Anonymous users.
o Submit with Finish button.
Your secure FTPS server is now running and can be connected to.
Edit
Your secure FTPS server is now running and can be connected to.
Edit
Further reading
Guide to installing secure FTP server on Microsoft Azure using IIS;
Guide to Installing SFTP/SSH Server on Windows using OpenSSH;
Guide to uploading files to FTPS server;
Guide to automating operations (including upload).
1) This guide is partially based on article Setting up a Passive FTP Server in Windows Azure VM.
guide_windows_ftps_server.txt · Last modified: 2016-06-02 by prikryl