Download Article Download Article

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.

Part 1
Part 1 of 5:

Installing the Software

Download Article
  1. 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.
  2. This expands additional options.
    Advertisement
  3. It's right below the "Internet Information Services" heading.
  4. It's below the FTP options. This is the final box you need to check.
  5. It's at the bottom of the window. Windows will install the necessary software.
  6. Now that your FTP server software is enabled, you can proceed with setting up the server.
  7. Advertisement
Part 2
Part 2 of 5:

Creating a Server

Download Article
  1. 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.
  2. You can do this by typing iis into the Windows search bar and clicking Internet Information Services (IIS) Manager in the results.
  3. A context menu will appear.
  4. To do so, click the folder to the right of the bottom text box, navigate to and select the folder, and then click OK.
  5. This is at the bottom of the page.
  6. 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.
  7. 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.
  8. This is at the bottom of the page.
  9. It's near the top of the window. The "Basic" option will require users to log in with an account.
  10. 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.
  11. 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.
  12. Advertisement
Part 3
Part 3 of 5:

Configuring the Firewall

Download Article
  1. 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.
  2. It's at the top of the window. You can now edit the items in the checklist.
  3. This option is in the "F" section of allowed apps.
  4. This includes the box to the left of "FTP Server," as well as both the "Private" and "Public" boxes.
  5. 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.
  6. Advertisement
Part 4
Part 4 of 5:

Configuring the Router

Download Article
  1. 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).
  2. 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.
  3. 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.
  4. 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.
  5. It will usually go in the "IP" or "Local Address" box.
  6. 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.
  7. 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.
  8. Advertisement
Part 5
Part 5 of 5:

Connecting to the Server

Download Article
  1. 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.
  2. 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).
  3. 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.
  4. 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.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can I access an FTP without an internet connection?
    Community Answer
    Community Answer
    FTP 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.
  • Question
    How do I set up an FTP between two computers with different operating systems?
    Community Answer
    Community Answer
    Each 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.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!

You Might Also Like

Transfer Files to iPad from a Computer7 Ways to Transfer Files to iPad from PC or Mac
Use FTPUse FTP
Upload Files to an FTP ServerUpload Files to an FTP Server
Download Photos from Your iPhone to a Computer6 Easy Ways to Transfer Photos from iPhone to a PC or Mac
Share a Google Drive FileHow to Share Files on Google Drive: Mobile & Desktop
Enable File SharingEnable File Sharing
Use AllShareUse AllShare
Find the File Size of an iOS PhotoFind the File Size of an iOS Photo
Add a Folder As an Attachment3 Quick Ways to Add a Folder as an Attachment in an Email
Transfer Data from Android to AndroidTransfer Data from Android to Android
Share Large Video FilesShare Large Video Files
Share Files on ZoomHow To Share Files in a Zoom Meeting: Windows, Mac, and Mobile
Access a Shared Folder on an iPhone or iPadAccess a Shared Folder on an iPhone or iPad
Post PDF Files to Facebook on a PC or MacHow to Post a PDF File to Facebook
Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
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. This article has been viewed 366,924 times.
How helpful is this?
Co-authors: 9
Updated: March 25, 2024
Views: 366,924
Categories: File Sharing
Article SummaryX

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.

Did this summary help you?

Thanks to all authors for creating a page that has been read 366,924 times.

Is this article up to date?

Advertisement