Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to enable active FTP on Windows Server 2003 R2?

Posted on 2010-11-19
13
Medium Priority
?
1,562 Views
Last Modified: 2012-05-10
Does anyone know how to enable active FTP on Windows Server 2003 R2?  Currently passive FTP, through IIS, is enabled, which won't work with our firewall rules.
0
Comment
Question by:KP0596
13 Comments
 
LVL 7

Expert Comment

by:DominoG
ID: 34174095
0
 

Author Comment

by:KP0596
ID: 34174148
I already googled for the above article, the problem is is that it doesn't tell you how to disable passive FTP and only run Active FTP.
0
 
LVL 10

Expert Comment

by:moon_blue69
ID: 34174193
That is to set up passive ftp. If its Just normal FTP go to windows components in add or remove programs. select iis and click on details select ftp and install it. Go to administrative tools click on IIS under local computer select ftp sites right click default ftp site and properties -> under security you can leave it at anonymous if you do not want to supply username and password. or add the users who can access it. On messages you can configure messages and on home directory you can set the directory you want to use
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

Author Comment

by:KP0596
ID: 34175026
Thanks for the info Moon, however what you call "normal FTP" is passive FTP.  Passive FTP is what you get when you install FTP through IIS.  If you do a packet sniff, you'll see that It uses a random port between 1024-5000.  I need to figure out how to disable passive FTP and enable active FTP.
0
 

Author Comment

by:KP0596
ID: 34175069
A workaround might be to hard-code passive FTP to use a single port.  But I haven't tested that yet. Any other solutions would be greatly appreciated.

cd c:\inetpub\adminscripts
adsutil.vbs set /MSFTPSVC/PassivePortRange "5001-5001"

Open in new window

0
 

Author Comment

by:KP0596
ID: 34192659
Microsoft KB is the Microsoft KB with my exact problem:

Passive Connections May Fail Through a NAT-Based Firewall to IIS 6.0 and older FTP Server.

Microsoft Support is the KB on how to configure PassivePortRange in IIS
0
 
LVL 44

Expert Comment

by:Davis McCarn
ID: 34195929
Follow these directions to setup the FTP service using port 21 and pay attention to the "virtual directories" section: http://www.brighthub.com/computing/windows-platform/articles/23839.aspx  ( I also set a secondary ip address on the server's nic (i.e. 192.168.0.102), bound the FTP service to that ip, and setup the port forwarding in the router to it so I could monitor and/or disable the FTP without affecting other functions )
0
 

Accepted Solution

by:
KP0596 earned 0 total points
ID: 34231175
It turns out FTP needs access to two or more simultaneous ports.  After setting the ports, I restarted IIS FTP.  FTP services would not start.  This was caused by a port usage conflict.  So I changed the port ranges and IIS FTP is now working.

 
C:\Inetpub\AdminScripts>adsutil.vbs set /MSFTPSVC/PassivePortRange "5501-5510"
PassivePortRange                : (STRING) "5601-5610"

C:\Inetpub\AdminScripts>adsutil.vbs get /MSFTPSVC/PassivePortRange
PassivePortRange                : (STRING) "5601-5610"

Open in new window

FTP.PNG
0
 

Author Comment

by:KP0596
ID: 34231187
*Correction, the code snippet above should read:
C:\Inetpub\AdminScripts>adsutil.vbs set /MSFTPSVC/PassivePortRange "5601-5610"
PassivePortRange                : (STRING) "5601-5610"

C:\Inetpub\AdminScripts>adsutil.vbs get /MSFTPSVC/PassivePortRange
PassivePortRange                : (STRING) "5601-5610"

Open in new window

0
 

Author Comment

by:KP0596
ID: 34231206
FYI: Passive FTP and Active FTP are controlled/set on the client side, not the server side.  Clients default to passive FTP, so enabling Active FTP must be done by the client.  
0
 

Author Closing Comment

by:KP0596
ID: 34272736
Information was provided by MS Enterprise Support.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question