Search Windows and Linux Networking

Wednesday, October 12, 2011

How To Install FTP Server role on Windows Server 2008 Core


To install FTP server role on Windows 2008 Core we will need to follow below steps..

1) First we will need to install IIS web server role using below command.


2) Then we will need to run below command for IIS Management compatibility.



3) After that run below command for IIS Metabase.


4) After that we will need to run below command for FTP publishing service.



5) Finally we have to run below command for FTP Server



This was the setup part of FTP Server. Home directory for this FTP server will be a default one i.e. C:\InetPub\FTPRoot (considering your OS is installed on C drive).

Now we have to set FTP service as "auto" to start it with windows for this we have to use below command.



And then start the service using below command you will receive success massage.



But we will not be able to access the FTP server unless we configure the firewall accordingly.

For this we have to add Allow rule for the FTP port in firewall using below command.



To activate firewall application filter for FTP that will dynamically open ports for data connections use below command.

netsh advfirewall set global StatefulFtp enable


1 comment: