PDF download Download Article
Share files across computers easily with our step-by-step guide
PDF download 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

PDF download 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

PDF download 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. It's at the top of the column titled "Connections" on the left side of the window.
  4. A context menu will appear.
  5. To do so, click the folder to the right of the bottom text box, navigate to and select the folder, and then click OK .
  6. This is at the bottom of the page.
  7. 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.
  8. 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 .
  9. This is at the bottom of the page.
  10. It's near the top of the window. The "Basic" option will require users to log in with an account.
  11. 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.
  12. 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.
  13. Advertisement
Part 3
Part 3 of 5:

Configuring the Firewall

PDF download 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

PDF download 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

PDF download 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
    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
    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
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      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 385,946 times.

      Is this article up to date?

      Advertisement