Follow up on iis-resources.com forum.
"Mark B" <Mark B@discussions.microsoft.com> wrote in message
news:CFB6F197-C872-4643-B55C-7454E075ED5E@microsoft.com...
> In IIS Manager (the GUI), you can use UNC names and provide a
> username/password to "Connect As". However, the iisftp.vbs doesn't seem to
> support this functionality.
>
> In IIS Manager, right click on site. Click Properties. Home Directory tab.
> Click "A directory is located on another computer". Supply a UNC and click
> "Connect As" button to provide username/password.
>
> However, when trying to automate this process with iisftp.vbs, it will not
> allow a UNC to be entered as the home directory.
>
> eg.
> The command:
> "cscript iisftp.vbs /create \\server\path "TestScript" /i 1.1.1.1"
> returns:
> Root directory format unknown. Please use the
> ':\' format.
> (iisschlp.wsc checks for ':\' in CreateFSDir)
>
> The documentation mentions supporting UNC as an FTP home directory
> (although
> I haven't seen anything that explicitly states UNC is possible using the
> script).
>
> Reference Articles:
> "Adding FTP (mentions UNC)":
>
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/94536ec0-3bf9-4c41-b3b4-00ba3860d09b.mspx > Script Docs:
>
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/e0c157de-a285-46d6-8cf5-375bb7aebcc4.mspx >
> If I map a drive and use (where r is a mapped drive):
> "cscript iisftp.vbs /create r:\path\to\ftpRoot "TestScript" /i 1.1.1.1" /s
> boxWithSharedDrive /u domain/user /p password -i localIp"
> returns:
> The IIS Admin scripts only support IIS 6.0.
>
> I've seen KB Article [You may receive a "The IIS Admin scripts only
> support
> IIS 6.0" error message when you run the Iisback.vbs script in IIS 6.0]
>
http://support.microsoft.com/?kbid=826007 >
> and applied the workaround (not the hotfix) . But no luck.
>
> Any ideas about how I can use the script to set up a FTP site with a
> network
> path (UNC preferrable but mapped drive ok) as the home directory? Any
> comments welcome.