How do i create an FTP site? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cminorm
Posts: 30
Joined: Mon Jan 23, 2012 4:13 pm

How do i create an FTP site?

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.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How do i create an FTP site?

Hello,

Here's the Configuring IIS Web Sites and Virtual Directories tutorial to help you with this.
After you have created the web site, you can configure FTP access from FTP Configuration Tab.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cminorm
Posts: 30
Joined: Mon Jan 23, 2012 4:13 pm

Re: How do i create an FTP site?

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

Return to “Common Problems”