How to install and configure FTP on IIS 8 in Windows Server 2012

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello in this video tutorial you are going to learn how to install and configure FTP on isos 8 in Windows Server 2012 by search in Sami Power by tech. p.com okay let's log on to Windows Server 2012 let me type down my very secret password okay as usual the server manager has opened automatically now I have already installed the is and now I'm going to install the component of the is which is FTP for our tutorial so let's click next just click next once again the next button from here click on web server is Select FTP server and FTP extensibility and now click on next again okay click on the checkbox restart the destination server automatically if required click on install it take one or 2 minute to install so just wait for a moment okay yeah as you can see it is now installed let me click on close so now we have install the FTP server now let's click on tools and click on internet information service okay let's minimize this and before we start we are going to create a user which we are going to use in our tutorial so let's open computer Management in the computer management go to local users and group users right click on the user click on new user and type down the username that will be FTP user okay and the password will be very secret I'm not going to tell you okay mhm and I'm going to click on these two checkboxes which is user cannot change the password and user password never expire let's click on create okay the user has been created as you can see here okay so let's close this okay and also close this one as we don't require it anymore and let's open our IIs let me maximize this one okay let's click on server note sites on the sites if you see there are multiple sides are already configured now I'm going to configure FTP so right click and click on add an FTP site give a descriptive name I'm going to give this FTP site a name that will be default FTP just wait for a moment okay and I'm going to give a path to a folder C drive inet p and there's already a folder which I have already created which is sites let me create a new folder I will give this folder a name which will be default FTP okay let's click okay click on next from here I'm going to select all unsigned IP address by default and also the port number which is 21 next you can see enable virtual host name which I'm not going to configure in this tutorial you can check it out our next tutorial for virtual host name so let's move forward I have selected no SSL now let's click on next here I'm going to select the authentication method there are two typee of authentication method Anonymous and basic I'm going to select basic authentication let's click on the checkbox okay and from here I'm going to select specific users who can access the FTP server now let's type the user which we have created earlier that is FTP user and let's give this user a permission which is read now click on finish select the default FTP website which we have just created okay let's check it out FTP authentication here you can see basic authentication is enabled and the anonymous authentication is disabled let's go back and click on FTP authorization here as you can see the permission which we have given is read to FTP user okay so we have configured the FTP on the server now what we are going to do we are going to the client system and access this FTP server using the FTP client application so just hold on for a moment I'm going to switch to the Windows 7 machine but before that let's see few more important things let's check it out the IP address of This Server as you can see the IP address of of this server is 192.168.1 100 let's close this and let's also check it out the firewall configuration of This Server let me click on firewall this is basically a Windows Firewall as you can see the firewall is already enabled now let's click on Advance setting on the advance setting inbound rules in the inbound rules click on the name and if I go little bit down you will see FTP server FTP server passive and also FTP server secure now let's first check it out the FTP server which is on Port 21 let's check it out the second one okay this is FTP server passive basically passive means it uses a random ports which are already assigned to it now let's check it out the third one it is FTP server secure this uses 990 okay if you see here FTP ports are disabled in the inbound rule of the firewall so what I'm going to do is I will go to the client machine and try to connect to the server and see what error it is giving just hold on for a second let me connect to the client machine okay first we are going to check the connectivity from the client to the server to do that we are going to open command prompt on the accessories click on command prompt here I'm going to type the IP address that is actually a ping command P iing ping and type the IP address of the server for our case that is 1 192.168.1 100 as you can see we are able to Ping the server from the client machine okay so now I'm going to check whether the port is open on the server firewall or not to do so I'm going to run the Tet command to run the Tet command you need to install a component of the Windows 7 which you will find over here tnet client I have already installed the tnet client you just have to cck on the checkbox and click okay okay it will automatically installed so let's type tnet Tel net NE okay and the IP address of the server that is 192.168.1 100 and the port number of the FTP server that is 21 now click enter as you can see it is showing me connecting to now if you see here it is giving me an error could not open the connection to the host on the port 21 connect failed that means the port 21 is not open on the server so let's go back to our server and let's open the port 21 and then check it out what happens okay now we are on the server let's maximize the fireball window okay here on the firewall you can see the FTP inbound rule which is working on port number 21 as you can see here now as you can see right now this rule is disabled to enable this just click on enable once you have enabled the rule that means you have opened the port 21 on this firewall and the network traffic which is coming on Port 21 can pass through the firewall so let's go back to our client machine Okay so so let's maximize the command prompt window here I'm going to type the same tet command which we have earlier used so let's type T net space 192.168.1 100 that will be the IP address of the server space 21 and as soon as I click enter it gives me a banner basically it is showing me there is a service is running on Port 21 on the server which is Microsoft FTP Service so let's close this and now we are going to open the client FTP software which is in my case I'm using filezilla is a open source freely available software which can be downloaded from the file Zilla website I have already given the link I have given the link for this software on the video description now let's click on file site manager new site okay so let's give a name to the FTP site it can be anything it is best to use the same name as your website so that you don't get confused later so I'm going to type Peter Christ okay now let's see host host name is basically a domain name of your website you can use a domain name or you can use the IP address of the server as you can see here I'm using the IP address of the server by default most of the FTP client software uses Port 21 automatically so if the FTP server is using other Port than Port 21 you have to manually configure the port over here now on the protocol you do not have to change anything and right now we are using plain FTP so we will leave it as it is now the next is log on type here I'm going to select ask for the password on the user let's typee the user which we have created on the server that was FTP user so let me type it down that is FTP user okay and the password which will be asked when I will try to connect to the server now let's check it out the advanced tab there's nothing okay on the transfer setting tab I'm using the mode which is default basically default means it will going to use the passive FTP and not the active one so let's try to connect and let's see what happens it is asking me for the password remember my password for this session I will uncheck this and I'm going to type my very secret password which will I'm never going to tell you okay let's click okay and here you will see 227 entering passive mode and here it says opening binary mode data connection so just hold on for a moment basically basically the FTP client has established the connection to the server and now it is trying to opening the data channels it says connection timeout fail to retrieve directory listing okay let's go back to our site manager on the site manager select the site and here I'm going to click on transfer setting in the transfer setting there's two types of mode active mode and the passive mode Let's select active mode Let's click on connect okay it is asking me the password let me type down the password it is very secret I'm never going to tell you let's click on connect click on okay and there as you can see directory listing successful so now we have successfully connected to the FTP server using the active mode the reason we we couldn't able to connect to the FTP server using the passive mode is that the passive mode is blocked on the firewall of the server okay so let's go back to the server and enable the passive FTP mode on the server firewall so just hold on for a moment okay so we are back on the server machine Let's maximize the firewall window okay right now this is FTP server selected below that you can see FTP server passive let me go a little bit forward here you can see the ports which this rule uses that is 1024 to 65,535 basically in passive mode the data Channel automatically picks the random Port from the server so let's enable this rule also Let me refresh the fireball just hold on for a moment okay now let's go back to our client machine okay so let's open the file Zilla which is a FTP client application just hold on for a moment okay let's go to site manager here select the p and the transfer setting transfer mode and select default click connect it will ask for the password remove the checkbox and type my very secret password password Okay click okay and as you can see I am successfully able to connect to the FTP server using passive FTP mode now if you remember we have given FTP user permission to read only now let's see what happens when I try to copy a file from local system to remote server let me copy this file and I'm going to drop this file over the remote server right now it is asking me a password of the remote server so let me type down the password just hold on okay now if you see on the logs it is giving me access deny critical file transfer error to solve this problem I have to give the FTP user write permission so let's go back to our server and let's give the user per permission to write on this particular directory so just hold on for a moment let me switch back okay we are back on the server let me close down the firewall as we don't require it anymore okay now let me open the now let's open the FTP folder which we have created earlier inet Pub and the folder is site in the site you will find the default FTP so let's create some files in this directory just hold on okay so I have created two files in this directory now let's go to tools internet information service let me maximize this one on the server node let's select default FTP on default FTP let me click on FTP authorization rule on the authorization rule let's click on the user and let's click on the right checkbox click okay so now we have given the right permission to FTP user now let's minimize this one and also minimize this and let's go back to our client machine just hold on for a moment okay so we are back on the Windows 7 machine now here you can see the FTP client has been disconnected so let's connect it once again and check it out what happens let me type down my very very secret password okay once again okay now we have successfully logged in to the FTP server as you can see FTP listing successful now here it is showing two files which are on the server as you can see above it is given remote site and here it is the file which we are going to copy onto the server so let me drop it it is asking me for the password this time I'm not going to uncheck this box so that the password will be remembered let me type down the password and let's click oh okay and still it is giving me an error 550 access is denied critical file transfer error now this error has occurred because the user does not have a permission on an actual folder which we have created for the use of FTP so let's go back to the server now we are back on the server let me open the folder which we have earlier open this is the default FTP folder let's go one up up to this folder just hold on let me click on sides and here we are here you can see default FTP let's right click on this folder and click on properties security tab from here click on edit button Okay click on ADD Advance find now select the user in our case it is FTP user Okay click click on okay once again and as you can see FTP user is added let me give this user a permission to WR let's click on right and click on apply then okay I do not have to give any other permission to this user let me once again open this folder there are two files okay let's minimize this one and let's go back to our Windows 7 client machine so just just hold on for a moment okay so we are back on the client machine okay so let's click on the drop- down arrow besides the site manager here you can see it is showing me P which is my FTP account let's click on it and click on okay I have successfully logged into the FTP server as you can see now let's copy this file to the server so I'm dropping it onto the server and I have successfully done that as you can see file transfer successful transmitted 7 bytes in 1 second if I see below here it is showing me successful transfer one and if I click on it it's going to show you the file which have been transferred so you have seen filezilla FTP client now let me show you one more software which is as good as file Zilla let me minimize this and let's open coffee cup free FTP let's click on server click on the green button which will add a new server let's type down our host name that is Peter Christ let me give the IP address of the server that is 192.168.1 100 now let's type down the username and the password which is FTP user and Mer my very secret password Okay click on connect okay as you can see all the files on the server it is showing over here now let's do one thing let me copy one file from my local system to the server to do that first I have to search for the file okay here is it search in let me drop it on the server and there the file has been dropped on the server now we are going to disconnect the coffee C free FTP let's minimize this one let's go back to the server and check it out few more stuff okay so let's check it out first the folder default FTP as you can see here there are two additional files one is suchin and the other one is new Rich Text document copy we have uploaded these two files using FTP client software in which one was file Zilla and the other one was coffee cup free FTP now let's open internet information service man manager okay now let's see how we can restrict the access for the server so that clients which are having a specific IP address will only able to access the FTP server to do so let's click on FTP address and domain restriction here you can see right now it is blank so let's add a new rule click on ADD allow entry type down the IP address of the client in our case it will be 192.168.1.1 122 as you can see here now let's click on okay here is the IP address as you can see there is WR allow right click on the IP address edit feature setting okay okay here you can see access to the unspecified client is right now allowed let's click on the drop down and select deny access to the unspecified client is now denied click on okay so if the IP address is not specified over here the FTP client will be denied access to the FTP server so let's go back to the client machine and let's check it out what happen when we try to access the server Okay so we are back on the client machine let's go to run and type CMD Okay click on okay on the command prompt let's type ip config this will show me the IP address which is configured in my system so the local IP address of my system is 19216 . 133 let's minimize this and now let's open FTP client software file Zilla let's connect to the FTP server which we have earlier configured click on Peter chist click okay and now you can see it is giving me error 503 user cannot login home directory inaccessible critical error could not connect to the server this error occurred because we have configured IP address and domain restriction on the FTP server let's do one thing let's connect using the coffee cup free FTP and let's see once again it is giving me the same error so that means the IP and domain restriction configuration is properly working now let's change the IP address of this system to 192.168.1.1 122 which we have configured in IP address and domain restriction so right now it is 133 let's change it into 1 22 Okay click on okay close close and also close this now once again let's type ip config okay and now if you see it is giving me the IP address 192.168.1 122 so once again let's go back to the FTP client software it is file Zilla click on the Peter chist it is asking me password because I have just changed the IP address of my client machine let me type down my very secret password and click okay once again okay and as you can see directory listing successful that means I have successfully logged on to the FTP server let's drop this file it is showing me do you want to override the file click on okay and there we have successfully uploaded that file Let me refresh this okay now let's close file Zilla okay so thank you for watching our this tutorial I hope this was very informative for you in our next tutorial I'm going to show you how to configure FTP virtual host name so don't forget to watch that one if you like this video do give the thumbs up subscribe to receive an email update whenever we post a new video share this video with your Tech technical friends if you're facing any technical problem or have any suggestions post your comment here or you can also catch me on gole Plus or Google Talk this video tutorial is presented by suchin Sami powered by tech. p.com and you're watching me and you are watching this on YouTube channel Peter chry
Info
Channel: Sachin Samy
Views: 190,113
Rating: undefined out of 5
Keywords: configure FTP, IIS 8.0 FTP
Id: AGgArVFLxpM
Channel Id: undefined
Length: 27min 48sec (1668 seconds)
Published: Wed Apr 10 2013
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.