Windows firewall blocks passive FTP traffic on server.
Problem:
Windows firewall prevents passive FTP use on the server.
Solution:
Create a .bat file from the following and run it. This will make the adjustments necessary in the windows firewall configuration.
Echo OFF
ECHO ADDING PORT RANGE TO IIS
C:\Inetpub\AdminScripts\adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5550"
ECHO OPENING FIREWALL PORTS
FOR /L %%I IN (5500,1,5550) DO NETSH FIREWALL ADD PORTOPENING TCP %%I FTPPort%%I
iisreset
ECHO FINISHED
Pause
Windows firewall prevents passive FTP use on the server.
Solution:
Create a .bat file from the following and run it. This will make the adjustments necessary in the windows firewall configuration.
Echo OFF
ECHO ADDING PORT RANGE TO IIS
C:\Inetpub\AdminScripts\adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5550"
ECHO OPENING FIREWALL PORTS
FOR /L %%I IN (5500,1,5550) DO NETSH FIREWALL ADD PORTOPENING TCP %%I FTPPort%%I
iisreset
ECHO FINISHED
Pause