How to Enable FTP in Windows 10 (Set Up an FTP Server)

Last updated on November 10th, 2026 at 10:12 am

On Windows 10, press Windows + R, type optionalfeatures, and under Internet Information Services tick FTP Server and Web Management Tools, then select OK. Next, add the site in IIS Manager and allow FTP through the firewall. Windows 11 has the same screens, and connecting to someone else’s server needs no install.

Windows 10 reached end of support, so a server PC should enroll in Extended Security Updates or move to Windows 11.

Plain FTP isn’t encrypted

  • Plain FTP is not encrypted. User names, passwords and files cross the network as readable text. Use plain FTP only on a home or office network you trust, and use FTPS (covered below) for anything else.
  • You need an administrator account to install the feature and change firewall settings.
  • Create a separate local account for FTP. Signing in to FTP with your everyday account exposes that password. A standard (non-administrator) account named something like ftpuser is safer. Here’s how to create a local account on Windows 10.
  • Pick or make the folder to share, for example C:\FTP. Everything inside it, including subfolders, will be reachable over FTP.
  • Know a few terms. IIS (Internet Information Services) is the web and FTP server built into Windows. Port 21 is the FTP “control channel” that carries commands and logins. File lists and transfers travel on a separate “data channel.”

Step 1: Install the FTP Server feature

  1. Press Windows + R, type optionalfeatures and press Enter. (You can also go to Control Panel > Programs > Turn Windows features on or off.) The Windows Features window opens.
  2. Select the + next to Internet Information Services.
  3. Expand FTP Server and tick FTP Service. Leave FTP Extensibility unticked unless you need custom authentication providers; a normal home setup with Windows accounts doesn’t use it.
  4. Expand Web Management Tools and tick IIS Management Console. This is the IIS Manager app you’ll use next.
Windows Features dialog with FTP Service and IIS Management Console checked under Internet Information Services
Select FTP Service and IIS Management Console. This recreated Windows Features example leaves FTP Extensibility off for the article’s local-account setup; no Windows components were enabled.
  1. Select OK. Windows installs the files, which can take a few minutes. Select Close when it’s done, and restart if prompted.

A box with a filled square rather than a tick means only some sub-features are on, which is normal here. You don’t need World Wide Web Services for FTP. If you’d like a full web server too, see enabling IIS in Windows 10.

Prefer PowerShell? Open Windows PowerShell (Admin) from the Windows + X menu and run:

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

Step 2: Give the FTP account access to the folder

IIS checks two things when someone signs in: the FTP authorization rule you set in the next step, and the regular Windows (NTFS) permissions on the folder. Both must allow the account.

  1. In File Explorer, right-click your FTP folder (for example C:\FTP) and choose Properties.
  2. Open the Security tab and select Edit, then Add.
  3. Type the account name, such as ftpuser, select Check Names, then OK.
  4. Tick Modify under Allow if the account should upload and delete files, or leave the default Read & execute for download-only access. Select OK twice.

Step 3: Create the FTP site in IIS Manager

  1. Select Start, type IIS, and open Internet Information Services (IIS) Manager. If Windows asks whether to connect to Microsoft Web Platform, select No.
  2. In the Connections pane on the left, expand your PC’s name. Right-click Sites and choose Add FTP Site.
  3. Site Information: enter a name such as Home FTP, then next to Physical path select the … button and choose C:\FTP. Select Next.
  4. Binding and SSL Settings: leave IP Address on All Unassigned and Port on 21. Leave Virtual Host blank and keep Start FTP site automatically ticked.
  5. Under SSL, choose No SSL for a plain FTP server on a trusted home network. If you already have a certificate, choose Require SSL and select it from the SSL Certificate list instead (see Secure it with FTPS). Select Next.
  6. Authentication and Authorization: under Authentication, tick Basic and leave Anonymous unticked.
  7. Under Allow access to, choose Specified users and type the account name, for example ftpuser. Under Permissions, tick Read, and also Write if this person should upload.
Add FTP Site wizard with Basic authentication enabled and Specified users set to ftpuser with Read and Write permissions
Use Basic authentication, specify the allowed local user, and grant the required Read and Write permissions. This recreated wizard uses the fictional name ftpuser; it creates no account, FTP site or access rule.
  1. Select Finish. Your new site appears under Sites with a running status.

To add more people later, select the site, double-click FTP Authorization Rules, and choose Add Allow Rule in the Actions pane. Choosing All users lets every Windows account on the PC sign in, so only use it if that’s really what you want.

Anonymous access lets anyone on the network sign in without a password (user name anonymous). If you enable it, give it Read only, and grant the IUSR account read permission on the folder. Never combine anonymous access with Write.

Microsoft’s walkthrough on creating a new FTP site in IIS shows the same wizard pages and recommends SSL whenever credentials leave the PC.

Can I enable FTP on Windows 10 Home?

Check the Windows Features list on your PC: if FTP Server appears under Internet Information Services, you can follow this guide. Older Microsoft documentation for earlier Windows versions excluded the FTP server from Home editions, so if it’s missing on your PC, use SFTP through OpenSSH Server instead, or a third-party FTP server app.

Can several people have their own private folders?

Yes. In the site’s FTP User Isolation feature, choose User name directory (disable global virtual directories), select Apply, and create a subfolder for each account under LocalUser inside the FTP root (for example C:\FTP\LocalUser\jordan). Each person then sees only their own folder after signing in.

Step 4: Allow FTP through Windows Defender Firewall

Installing the FTP Server feature normally adds firewall rules, but they may not be turned on for your network type.

  1. Open Control Panel > System and Security > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall.
  2. Select Change settings.
  3. Find FTP Server in the list and tick the Private box. Leave Public unticked so the server isn’t reachable on hotel or café Wi-Fi.
Windows Defender Firewall allowed apps list with FTP Server allowed on Private networks only
For the article’s private-network example, FTP Server is allowed on Private and left unchecked on Public. This recreated enlarged Allowed apps excerpt omits unrelated programs; no firewall rule or network setting was changed.
  1. Select OK.

Your home network must also be set to Private. Check it in Settings > Network & Internet > Status > Properties (under your connection), and choose Private under Network profile.

If clients can sign in but folder listings hang, the data channel is being blocked. Microsoft’s FTP firewall settings guide gives these commands for an elevated Command Prompt. For plain FTP:

netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=21
netsh advfirewall set global StatefulFtp enable

Stateful FTP filtering lets the firewall open data ports automatically. It can’t read encrypted traffic, though, so for FTPS Microsoft uses a rule for the FTP service itself and turns stateful filtering off:

netsh advfirewall firewall add rule name="FTP for IIS" service=ftpsvc action=allow protocol=TCP dir=in
netsh advfirewall set global StatefulFtp disable

For custom port rules in the graphical tool, see opening a port in Windows 10 Firewall.

Step 5: Connect to the FTP server

First find the server PC’s local address. On that PC, open Command Prompt, run ipconfig, and note the IPv4 Address, such as 192.168.1.25. There are other ways to find your IP address in Windows 10 too. A quick first test is to connect from the server PC itself using ftp://localhost.

From File Explorer

  1. On another Windows PC, open File Explorer and click in the address bar.
  2. Type ftp://192.168.1.25 (use your address) and press Enter.
  3. In the Log On As box, enter the user name and password. If the account is local to the server, you can type it as PCNAME\ftpuser. Select Log On.
  4. The folder’s contents appear. Drag files in to upload or out to download.
File Explorer showing the contents of an FTP site opened at ftp://192.168.1.25
Open the server’s FTP address in File Explorer to view its shared files. This recreated Windows 10 example uses the local sample address 192.168.1.25 and fictional files; no connection was made.

To keep the server in File Explorer, right-click This PC, choose Add a network location, and enter the same ftp:// address. Current versions of Edge and Chrome no longer open ftp:// links, so use File Explorer or an FTP app.

From the command line

Windows includes the ftp command. A short session looks like this:

ftp 192.168.1.25
User: ftpuser
Password: (typed, not shown)
ftp> dir
ftp> get report.pdf
ftp> put notes.txt
ftp> bye

The built-in ftp command uses active mode and has no encryption option, so it can’t connect to a site set to Require SSL and may fail across routers. For FTPS or regular use, an FTP app that supports explicit FTP over TLS is a better fit.

Confirm it’s working

Success looks like the folder listing appearing after you sign in. In IIS Manager, the site’s status should read Started. On the server, netstat -ano | findstr :21 should show a line with LISTENING; here’s more on finding port numbers in Windows 10.

Secure it with FTPS

FTPS is regular FTP wrapped in TLS encryption, and IIS supports it. (SFTP is a different protocol that runs over SSH; IIS doesn’t provide it.) To turn on FTPS:

  1. In IIS Manager, select your PC’s name in Connections and double-click Server Certificates.
  2. In Actions, select Create Self-Signed Certificate, name it (for example FTP certificate), and select OK. A self-signed certificate encrypts the connection but makes clients show a trust warning; for an internet-facing server, a certificate from a certificate authority avoids that.
  3. Select your FTP site and double-click FTP SSL Settings.
  4. Choose the certificate from SSL Certificate, select Require SSL connections, and select Apply.

With the site on port 21, this is “explicit” FTPS: the client connects normally and then upgrades to TLS. Binding the site to port 990 switches IIS to the older “implicit” FTPS, where encryption starts immediately. The Custom option lets you require encryption only for the login, but requiring it for both channels is the safer choice. Details are in Microsoft’s FTP SSL settings reference.

If you’d rather avoid FTP entirely, SFTP through Windows’ OpenSSH Server is another encrypted option once you enable SSH in Windows 10. For Windows-only home networks, it’s often simpler to share folders in Windows 10.

Passive mode and access from outside your network

In passive mode, which almost every modern FTP app uses, the client opens the data connection to a port the server picks. Microsoft recommends passive mode for internet use because active mode (the server connecting back to the client) is often blocked by the client’s own router. To make passive mode predictable:

  1. In IIS Manager, select your PC’s name (the server level, not the site) and double-click FTP Firewall Support.
  2. Enter a Data Channel Port Range, for example 50000-50100. Ports must be between 1024 and 65535. Select Apply.
  3. Open Services (press Windows + R, type services.msc), right-click Microsoft FTP Service, and choose Restart.
  4. Allow that port range in Windows Defender Firewall, or use the service rule shown in Step 4.

Before exposing the server to the internet, switch it to FTPS, use a strong password on a dedicated account, and keep Windows updated. Plain FTP over the internet hands your password to anyone watching the traffic.

To reach the server from outside your home, three more pieces are needed:

  • Port forwarding: in your router’s settings, forward TCP port 21 and your passive range (50000 to 50100 in the example) to the server’s local IPv4 address. Give the PC a fixed address or a DHCP reservation so the forward doesn’t break.
  • External IP: select the FTP site, double-click FTP Firewall Support, enter your router’s public IPv4 address in External IP Address of Firewall, and select Apply. Without it, IIS tells remote clients to connect to a private 192.168.x.x address they can’t reach.
  • A stable address: most home internet plans change your public IP from time to time. A dynamic DNS service from your router maker can give you a name that follows the change.

FTP 530 and 534 errors

FTP apps show a three-digit code when something fails. Microsoft keeps a full list of FTP status codes in IIS; these are the ones home setups hit most.

Error 530 (not logged in)

Microsoft lists 530 as an invalid user name and password combination, or a site that allows only anonymous access. Check the password first, then confirm Basic Authentication shows Enabled under the site’s FTP Authentication, the account has an allow rule in FTP Authorization Rules, and it has NTFS permission on the folder (Step 2). If you’re signing in with a Microsoft account, try a local account instead.

Error 534 (request denied for policy reasons)

This usually means the site is set to require FTPS but the client connected with plain FTP. Switch the client to explicit FTP over TLS, or change FTP SSL Settings to Allow SSL connections on a trusted network.

Login works but the folder listing hangs, times out or shows error 425

The control channel on port 21 is open but the data channel is blocked. Set a passive port range, restart the Microsoft FTP Service, and allow the range (or the FTP service) in the firewall. For FTPS, make sure stateful FTP filtering is disabled.

Other PCs can’t connect at all

Confirm the site is Started in IIS Manager, the network profile is Private, and the FTP Server firewall rule is ticked for Private. Also check that the server PC isn’t asleep; a sleeping PC can’t answer connections.

Uploads fail with error 550

Microsoft describes 550 as a file that isn’t available, which includes uploading to a folder without write access. The account has Read but not Write in the FTP authorization rule, or lacks Modify on the folder’s Security tab. Fix whichever is missing.

How to stop or remove the FTP server

  • Pause it: in IIS Manager, select the site and choose Stop under Manage FTP Site in the Actions pane.
  • Delete the site: right-click the site and choose Remove. Your files in the folder are not deleted.
  • Uninstall FTP: open optionalfeatures again, untick FTP Server, and select OK. Remove any router port forwards you added, too.