21 Januar 2011

PASV FTP with IIS 6 on Windows Server 2003

After some hours I finally get PASV FTP up and running on Windows Server 2003.
Here how to do it:

First set the port range:
C:\Inetpub\AdminScripts\adsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5550"

Then open the port range to the firewall
FOR /L %I IN (5500,1,5550) DO NETSH FIREWALL ADD PORTOPENING TCP %I FTPPort%I

Finally reset the IIS
iisreset

That's all. Easy, isn't it ;-)

Keine Kommentare: