I am currently creating an install on MS server 2008. I need to create an FTP site. I have followed the documentation, but can't get an FTP site to be created.
I ended up creating my ftp site with a cmd file that looks like this.
cd %windir%\system32\inetsrv
REM ftproot is the location of the ftp data directory
set ftproot=c:\ftproot
REM ftpsite is the name of the ftp site
set ftpsite=ftpRep
if not exist “%ftproot%” (mkdir "%ftproot%")
cacls "%ftproot%" /G IUSR:W /T /E
appcmd add site /name:%ftpsite% /bindings:ftp://*:21 /physicalpath:"%ftproot%"
appcmd set config -section:system.applicationHost/sites "/[name='%ftpsite%'].ftpServer.security.ssl.controlChannelPolicy:SslAllow"
appcmd set config -section:system.applicationHost/sites "/[name='%ftpsite%'].ftpServer.security.ssl.dataChannelPolicy:SslAllow"
appcmd set config -section:system.applicationHost/sites "/[name='%ftpsite%'].ftpServer.security.authentication.basicAuthentication.enabled:true"
appcmd set config %ftpsite% /section:system.ftpserver/security/authorization /+[accessType='Allow',permissions='Read,Write',roles='',users='*'] /commit:apphost
FOLLOW US
Get the latest news in Application Packaging