How to Setup an FTP Server in Windows using IIS

Earlier, I had written a mail on how to turn your computer into a Windows file sharing server using a couple of different programs. If you ’ ra looking for a agile way to share the files on your local calculator with friends or family, this is an easy way to do so .
however, if you ’ re looking to setup your own FTP server in Windows using IIS, you can do therefore, but it requires more technical cognition. Of course, it besides gives your more chondritic control over sharing and security system, so it ’ randomness better for anyone who has a little calculator know-how. Plus, IIS is all about running websites, so if you want to run a couple of websites along with an FTP waiter, then IIS is the best choice .
mesa of Contents

    It ’ south besides worth noting that unlike versions of IIS come with each spirit of Windows and they all have slenderly different feature sets. IIS 5.0 came with Windows 2000 and 5.1 came with Windows XP Professional. IIS 6 was for Windows Server 2003 and Windows XP Professional 64-bit. IIS 7 was a complete rewrite of IIS and was included with Windows Server 2008 and Windows Vista.

    IIS 7.5 was released along with Windows 7, IIS 8 released with Windows 8 and IIS 8.5 released with Windows 8.1. It ’ mho best to use IIS 7.5 or higher if possible as they support the most features and have better performance .

    Setup and Configure an FTP Server in IIS

    The first base matter you ’ ll need to setup your own FTP server in Windows is to make certain you have Internet Information Services ( IIS ) installed. Remember, IIS alone comes with Pro, Professional, Ultimate or Enterprise versions of Windows .
    In Windows Vista and early, snap on Start, Control Panel and go to Add/Remove Programs. then click on Add/Remove Windows Components. For Windows 7 and higher, click on Programs and Features from Control Panel and then click on Turn Windows features on or off .
    add remove programs
    turn features off
    In the components charming, scroll down until you see iraqi intelligence service in the number and check it off. Before you click Next though, make sure you click on Details and then check File Transfer Protocol (FTP) Service .
    iis
    file transfer protocol
    For Windows 7 and astir, go ahead and click on the box next to Internet Information Services and FTP Server. You besides need to make surely you check the Web Management Tools box differently you won ’ thyroxine be able to manage IIS from Administrative Tools late on. For FTP, you need to check the FTP Service box otherwise you won ’ thymine have the option to create an FTP server .
    iis install
    Click OK and then click Next. Windows will go ahead and install the necessary IIS files along with the FTP serve. You may be asked to insert your Windows XP or Windows Vista magnetic disk at this steer. You shouldn ’ t need a disk for Windows 7 or higher .

    Setup and configure IIS for FTP

    once IIS has been installed, you may have to restart your computer. now we want to go ahead and open the IIS shape panel to set up the FTP server. indeed go to Start, then Control Panel and suction stop on Administrative Tools. You should now see an picture for Internet Information Services .
    admin tools iis
    When you open IIS in Vista or earlier for the first time, you ’ ll merely see your calculator mention in the exit hired hand menu. Go ahead and click the + symbol next to the computer name and you ’ ll see a match of options like Web Sites, FTP Sites, etc. We ’ re interested in FTP Sites, so expand that out besides. You should see Default FTP Site, pawl on it .
    ftp site
    You ’ ll notice after you click on the default FTP web site that there are a couple of buttons at the circus tent that look like VCR buttons : Play, Stop, and Pause. If the Play button is greyed out, that means the FTP server is active. Your FTP server is now up and running ! You can actually connect to it via your FTP customer software. I use SmartFTP, but you can use whatever you like best .
    For Windows 7 and higher, you ’ ll see a different spirit to IIS. first, there is no play button or anything like that. besides, you ’ ll see a bunch together of shape options right on the home riddle for authentication, SSL settings, directory crop, etc .
    ftp config iis
    To start the FTP server here, you have to right-click on Sites and then choose Add FTP Site .
    add ftp site
    This opens the FTP ace where you start by giving your FTP web site a name and choosing the physical localization for the files .
    new ftp site
    next, you have to configure the bindings and SSL. Bindings are basically what IP addresses you want the FTP site to use. You can leave it at All Unassigned if you don ’ metric ton design on running any other web site. Keep the Start FTP site automatically box checked and choose No SSL unless you understand certificates .
    bindings and ssl
    last, you have to setup authentication and authorization. You have to choose whether you want Anonymous or Basic authentication or both. For authority, you choose from All Users, Anonymous users or specific users .
    iis authentication
    You can actually access the FTP server locally by opening Explorer and typing in ftp://localhost. If all worked well, you should see the booklet load with no errors .
    ftp localhost
    If you have an FTP course of study, you can do the same thing. Open the FTP node software and type in localhost as the host name and choose Anonymous for the login. Connect and you should now see the folder .
    localhost
    Ok, indeed immediately we got the web site up and running ! now where do you drop the data you want to share ? In IIS, the default option FTP web site is actually located in C:\Inetpub\ftproot. You can dump data in there, but what if you already have data located somewhere else and don ’ thymine want to move it to inetpub ?
    In Windows 7 and higher, you can pick any location you want via the charming, but it ’ mho however alone one folder. If you want to add more folders to the FTP web site, you have to add virtual directories. For now, just open the ftproot directory and dump some files into it.

    ftp root directory
    nowadays refresh your FTP customer and you should now see your files listed ! So you now have an up and running FTP server on your local computer. So how would you connect from another computer on the local network ?
    In order to do this, you ’ ll have to open up the Windows Firewall to allow FTP connections to your calculator ; otherwise all external computers will be blocked. You can do this by going to Start, Control Panel, clicking on Windows Firewall and then clicking on the Advanced Tab .
    windows firewall
    Under the Network Connection Settings section, make indisputable all of the connections are checked in the left tilt and then click on the Settings button. You ’ ll nowadays be able to open sealed ports on your computer based on the serve your computer is providing. Since we are hosting our own FTP server, we want to check off FTP Server .
    ftp services
    A little popup window will appear with some settings that you can change, precisely leave it as it is and click OK. Click OK again at the independent Windows Firewall window .
    In Windows 7 and higher, the process is unlike for opening the firewall port. open Windows Firewall from the Control Panel and then click on Advanced Settings on the leave hand side. then click on Inbound Rules and scroll down till you see FTP Server (FTP Traffic-In), correct chatter on it and choose Enable Rule .
    firewall ftp rule
    then snap on Outbound Rules and do the lapp thing for FTP Server (FTP Traffic-Out). You have now opened up the firewall for FTP connections. now try to connect to your FTP site from a different computer on your network. You ’ ll need to get the IP address of the computer first before you can connect into it from a unlike calculator .
    Go to Start, click Run and type in CMD. Type IPCONFIG and jot down the number for IP Address :
    ip address
    In your FTP node on the other calculator, type in the IP Address you just wrote down and connect anonymously. You should now be able to see all of your files just like you did on the FTP client that was on the local calculator. Again, you can besides go to Explorer and just character in FTP : \\ipaddress to connect .
    now that the FTP site is working, you can add as many folders as you like for FTP purposes. In this means, when a drug user connects, they specify a path that will connect to one particular booklet .
    back in IIS, right snap on Default FTP Site and choose New, and then Virtual Directory .
    virtual directory
    In Windows 7, you right-click on the site name and choose Add Virtual Directory .
    add virtual directory
    When you create a virtual directory in IIS, you ’ re basically going to create an alias that points to a booklet on the local hard drive. therefore in the charming, the first thing you ’ ll be asked is for a alias name. Make is something childlike and utilitarian like “ WordDocs ” or “ FreeMovies ”, etc .
    virtual directory alias
    Click Next and now browse to the path where you want the alias to refer to. so if you have a bunch of movies you want to share, browse to that booklet .
    ftp server
    Click Next and choose whether you want it as Read access merely or Read and Write access. If you simply want to share files, check Read. If you want people to be able to upload files to your calculator, choose Read and Write .
    read write
    Click Next and then click Finish ! now you ’ ll see your newly virtual directory below the default FTP web site. In Windows 7 and up, the work is reduced to one dialogue shown below :
    add virtual folder
    You can connect to you using your FTP client by putting in the Path field “ /Test ” or “ /NameOfFolder ”. In Explorer, you would fair type in ftp://ipaddress/aliasname .
    ftp connection
    immediately you ’ ll only see the files that are in the booklet that we created the alias for .
    anonymouse
    That ’ s about it ! You can create as many folders as you like ! The only thing other thing that you would need to do is to give out your public IP address to anyone who is connecting from outside of your internal network. If you want users to connect from anywhere in the universe, you ’ ll have to give them your public IP address, which you can find out by going to http://whatismyipaddress.com/ .
    finally, you ’ ll need to forward the FTP interface on your router to your local calculator that is hosting the FTP server. Port Forward is a great site to show you how to forward ports on your router to computers on your home network. You should besides read my other posts on larboard forward and active DNS :
    What is Port Forwarding ?

    Setup Dynamic DNS for Remote Access
    This is decidedly a lot of information with a crowd of steps ; if you have any questions about all of this, post a comment ! enjoy !

    source : https://thefartiste.com
    Category : Tech

    About admin

    I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

    Check Also

    articlewriting1

    Manage participants in a zoom meeting webinar

    Call the people who attend the meet as follows Alternate host host Who scheduled the …

    Leave a Reply

    Your email address will not be published.