benPearce Asked: 2009-08-20 19:35:11 +0800 CST2009-08-20 19:35:11 +0800 CST 2009-08-20 19:35:11 +0800 CST Create FTP virtual directory script 772 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? ftp iis virtual-directory 1 Answers Voted Best Answer Mark Henderson 2009-08-20T20:11:21+08:002009-08-20T20:11:21+08:00 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.
Courtesy of http://technet.microsoft.com/en-us/library/cc739771%28WS.10%29.aspx
E.G.
You could execute this via a batch file, or via a .vbs script.