I am looking for a way to create a virtual ftp directory in IIS 5 and 6 via a script?

Does any one have such a script?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Courtesy of http://technet.microsoft.com/en-us/library/cc739771%28WS.10%29.aspx

\Windows\Systm32\iisftpdr /create FTPSite[VirtualPath] Name PhysicalPath [/s Computer [/u [Domain\]User /p Password]

E.G.

iisftpdr /create "Test Downloads" Scripts C:\Libraries\Scripts

You could execute this via a batch file, or via a .vbs script.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.