I was having problems getting passive FTP to work on Windows Server 2008 using the IIS FTP server. By default, only port 21 is open for FTP, but passive FTP ports are blocked. Since this port is selected at random, you cannot open a particular port to make this work. Instead, enabling stateful FTP allows the firewall to see that the connection is related to an existing connection and will allow the traffic.
To enable stateful FTP:
C:/> netsh advfirewall set global StatefulFtp enable
-Chris
loading...
loading...
Bingo! Thank you Chris!
For the search engines:
DOS FTP worked. Unchecking “use passive FTP” in IE made it work for clients. This command populates Windows Firewall with Advanced Security if it wasn’t already.
loading...
loading...