IIS里自带的FTP(PASV模式)更改端口范围,以遍做防火墙策略:

DOS下:

cd  c:\Inetpub\AdminScripts

adsutil.vbs set /MSFTPSVC/PassivePortRange "8900-8905"

 

重启ftp服务即生效