Поделиться через


Enable FTP on the default website on Win7

In Win7, FTP does not come enabled on the default website. To enable FTP you can either work through a wizard in inetmgr or run the following commands:

appcmd.exe set config -section:sites /+[name='"Default Web Site"'].bindings[protocol='ftp',bindingInformation='*:21:']

iisreset

 The first command enables the ftp protocol on the default website and listens for traffic on port 21. Also, SSL will allowed (not required), all users and anonymous users will have read and write access, and basic and anonymous auth will be enabled. If you don't want these settings on the default website you should go through the wizard in inetmgr and configure FTP as you like or there is an FTP section in visible in inetmgr where you can click on icons for auth, ssl, and more and configure FTP that way.

 Hope this helps you configure FTP on Win7!