This articles goes over adding the Windows Firewall rules for Passive FTP.
- Log into the server via Remote Desktop.
- Open the command prompt as the administrator and run the following commands:
netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=21
netsh advfirewall set global StatefulFtp enable
- The former opens port 21 and the latter opens the Passive FTP ports required.