This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 385,739 times.
Learn more...
This wikiHow teaches you how to install, set up, and host an FTP server on a Windows PC using Microsoft's built-in FTP services. Once your FTP server is live, you can use an FTP client (or a web browser) on another computer (even a Mac) to access shared files. Before you get started, make sure the computer that will act as the FTP server is assigned a local static IP address—check out How to Configure a Static Internet Protocol (IP) Address to learn how.
Steps
-
Open the Windows Features menu. You'll do this on the computer that will function as the FTP server. To get there, type windows features into the Windows search bar and click Turn Windows features on or off.
-
Click the + next to "Internet Information Services." This expands additional options.Advertisement
-
Check the "FTP Server" box. It's right below the "Internet Information Services" heading.
-
Click the + next to "FTP Server."
-
Check both the "FTP Extensibility" and "FTP Service" boxes.
-
Check the "Web Management Tools" box. It's below the FTP options. This is the final box you need to check.
-
Click OK. It's at the bottom of the window. Windows will install the necessary software.
-
Click Restart now when prompted. Now that your FTP server software is enabled, you can proceed with setting up the server.
-
Create a new folder for your files. You'll want to designate a single folder to contain all of the files on your FTP server. You can create additional folders inside of this folder if you wish. To create a new folder:
- Press ⊞ Win+E to open the File Explorer.
- Navigate to the drive on which you want to create the folder.
- Right-click a blank space in the right panel.
- Select New and click Folder.
- Type a name for the folder and press ↵ Enter.
-
Open the IIS Manager. You can do this by typing iis into the Windows search bar and clicking Internet Information Services (IIS) Manager in the results.
-
Right-click Sites in the left panel. A context menu will appear.
-
Click Add FTP Site… on the menu.
-
Type a name for your FTP server into the "FTP site name" field.
-
Select the FTP folder you created. To do so, click the folder ⋯ to the right of the bottom text box, navigate to and select the folder, and then click OK.
-
Click Next. This is at the bottom of the page.
-
Enter the IP address for the server computer. This is the static IP address that is assigned to this PC by your local router.
- The default FTP port is 21. If you want to change it to something else, you can edit the "Port" box. Just make sure you don't select a port that's already in use by another application.
-
Check the "No SSL" box if you won't be allowing connections from outside of the network. It's toward the bottom of the window under the "SSL" header. If you're only using your FTP server to transfer files between two computers on your local network, it's okay to avoid using an SSL certificate here.[1]
- If you plan to allow users outside of your network to FTP to this server, you should definitely use SSL. If you don't have a certificate from an authority, here's how you can create one:[2]
- In IIS Manager, go to IIS > Server Certificates.
- Click Create Self-Signed Certificate.
- Enter a name for the certificate and click OK.
- If you plan to allow users outside of your network to FTP to this server, you should definitely use SSL. If you don't have a certificate from an authority, here's how you can create one:[2]
-
Click Next. This is at the bottom of the page.
-
Check the "Basic" box. It's near the top of the window. The "Basic" option will require users to log in with an account.
-
Select who can connect to the FTP server. Choose your desired options in the "Authorization" section to specify who can access the server, and which level of permissions they'll have.
- If you want to allow any user with an account on this PC to log in via FTP, select All Users. You can always create user accounts on the PC as needed.
- If you just want to use a specific account for FTP purposes, select Specified users and enter a username. This is useful if you want to create a user account that's specifically for FTP.
- Use the "Read" and "Write" boxes to control which level of access the selected user(s) will have to the directory.
-
Click the Finish button. It's at the bottom of the window. This will close the window and return you to the Internet Information Services Manager. You'll see your new FTP server under the "Sites" header in the left panel.
- Your FTP server will now go online whenever your computer is both on and connected to the network.
-
Open the "Allowed Apps" Firewall page. To do so, open the Windows Search bar and type allow an app. When Allow an app through Windows Firewall appears in the results, click it.
-
Click the Change settings button. It's at the top of the window. You can now edit the items in the checklist.
-
Scroll down to the "FTP Server" option. This option is in the "F" section of allowed apps.
-
Check all three "FTP Server" boxes. This includes the box to the left of "FTP Server," as well as both the "Private" and "Public" boxes.
-
Click OK. It's at the bottom of the window. Your FTP server should now allow incoming connections on your local network.
- If you want your FTP server to be accessible outside of your home or office network, you'll also need to open port 21 to and from the rest of the internet.
-
Find out your router's local IP address. If you don't plan to allow people outside of your network to connect via FTP, skip this part and head to Connecting to the FTP Server. If you do want your FTP server to be accessible outside to people outside of your local network, you'll need to make some changes on your router. Start by gathering the router's local IP address:
- Open the Start menu and click Settings (the gear icon).
- Click Network & Internet.
- Scroll down and click View your network properties in the right panel.
- Scroll down to the "Wi-Fi" section (if you're using a Wi-Fi network) or one the Ethernet connection (if you're using a wired connection.
- Look at the address to the right of the "Default Gateway" heading (it should be a collection of small numbers separated by periods).
-
Go to your router's IP address in a web browser. Type the router's address into the address bar of a web browser (starting with http://), and then press Enter to bring up the login page.
-
Log in to your router's admin page. If you're not sure what the username and password are, check the sticker on the router. You can also search the web for the router model and the words "admin password" to find out the default login info.
-
Create a new port forwarding entry. You can do this in the Port Forwarding section of the router settings, which you'll usually find in a section called WAN, NAT, or Advanced. This entry will be specifically for the FTP port.[3]
- If prompted to do so, you can enter or select a name for this entry.
-
Add your FTP server's static IP address. It will usually go in the "IP" or "Local Address" box.
-
Set both the inbound and outbound ports to "21." Depending on you router, you may be able to choose an "FTP" option that automatically fills in the ports. If not, make sure 21 (or the port you created on the server if it differs) is permitted.
-
Select "TCP" as the protocol.
-
Save and enable the rule. Make sure the rule has a checkmark next to it (if possible), then click Save or OK to save the rule.
- Your router may restart after approving these changes.
-
Determine the FTP server's IP address. If you'll just be connecting from the same local network, the IP address will be the static one assigned to the PC that runs the server. If you're going to connect to the FTP server from a remote location, follow these steps on the PC running the FTP server to determine which IP address the remote computer must connect to:
- Go to https://www.google.com on the PC that runs the FTP server.
- Type what is my ip and press Enter.
- Review the IP address at the top of the search results. This is the IP address that remote users will need to connect to (on port 21) to log in.
-
Open a web browser on the other computer. On a computer other than the one on which you're hosting your FTP server, open any web browser other than Microsoft Edge.
- If you plan to use FTP to access the server a lot, consider installing a free FTP client like Filezilla instead of your browser.
- If you set up SSL on the FTP server, make sure anyone who connects to the server is using an FTP client that supports SFTP (Secure FTP).
-
Enter your FTP address and press ↵ Enter. The address should follow the format ftp://ip-address-of-ftp-server:21. Replace "ip-address-of-ftp-server" with the actual IP address.
- If you're using an FTP client like Filezilla, create a new connection to the IP address, and don't worry about the "ftp://" part.
- If you're connecting via SFTP, follow the on-screen instructions to accept the certificate.
-
Sign in to the FTP server. When prompted to sign in, use the login information you selected when setting up the server to do so. Once you're authenticated, you'll see the contents of the folder you shared on the FTP server.
Community Q&A
-
QuestionCan I access an FTP without an internet connection?Community AnswerFTP uses internet to access the server. This will only work if you are on the same Wi-Fi. Access to the server from other places will require advanced configuration.
-
QuestionHow do I set up an FTP between two computers with different operating systems?Community AnswerEach device will require its own client software, but this isn't otherwise an issue, as FTP was established to facilitate file transfers across multiple device types. To make the process simplest, look for an FTP app that's available on multiple platforms; FileZilla comes to mind, as client software is available for Windows, iOS and Linux.
Video
Tips
References
About This Article
1. Go to the Windows Features menu.
2. Open the Internet Information Services menu.
3. Enable FTP Server, FTP Extensibility, FTP Service, and Web Management Tools.
4. Save and close.
5. Open the Internet Information Services manager.
6. Create a new FTP site in the left column.
7. Complete the wizard.
8. Allow FTP through the firewall.