Dedicated Windows Server Hosting Specialist LiveZilla Live Help
Sales: sales@databasemart.com
Support: support@databasemart.com
Phone: 409-877-4238



How To Enable Passive FTP Transfer Mode in Microsoft IIS Server When Windows Firewall is On?

Problem

When you turn on Windows firwall in Microsoft Windows Server 2008/2003, FTP will only works in "Active Transfer Mode" but NOT "Passive Transfer Mode". Some FTP clients do need passive transfer mode if they are behind a firewall. Some FTP publish services like blogger.com can only support passive ftp transfer mode as well.

Solution

You can enable passive ftp transfer mode in Microsoft IIS server. Please follow these steps.

a. Enable direct metabase edit

Open Start > Programs > Administrative Tools > Internet Information Service (IIS) Manager. Right click "ServerName (local computer)" and choose "Properties". Check on "Direct Direct MetaBase Edit" and click "OK".

b. Add PassivePortRange

Open C:\WINDOWS\system32\inetsrv\MetaBase.xml with NotePad or other editors. Add a new line 'PassivePortRange="5001-5008"' in "IisFtpService" section.

c. Disable direct metabase edit and re-start iis

C:\>iisreset

d. Open firewall ports

Open Start > Settings > Control Panel > Firewall. Add the TCP ports 5001-5008 to the firewall exception list.

e. Test

Now you should be able to connect to ftp server with passive transfer mode.

Other Resources

  1. How To Configure PassivePortRange In IIS
  2. Windows 2003 Server SP1 Firewall Modification for Passive or PASV FTP Connections

Navigator

Other How-Tos

Express Windows Server

CPU: Intel Core 2 Duo E8400
CPU Speed: 3.00GHz
Cache: 6MB
RAM: 4GB RAM
Disk: 2x320GB SATA
RAID: RAID 1
Bandwidth: 1000GB
Windows 2008/2003: Free
IP Addresses: 8
Monthly: $149.00

Detail...

Standard Windows Server

CPU: Quad-Core Xeon E5410
CPU Speed: 2.33GHz
Cache: 12MB
RAM: 4GB RAM
Disk: 2x146GB SCSI
RAID: RAID 1
Bandwidth: 1500GB
Windows 2008/2003: Free
IP Addresses: 8
Monthly: $259.00

Detail...