Re: UNC names in iisftp.vbs (IIS 6)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Follow up on iis-resources.com forum.
I think iisftp.vbs is for ftp site management, while iisftpdr.vbs let you
handle ftp directories administration.

--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/


"Mark B" <Mark B@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CFB6F197-C872-4643-B55C-7454E075ED5E@xxxxxxxxxxxxxxxx
> 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.


.



Relevant Pages

  • CREATE USER AND DEFINE NTFS PERMISSIONS
    ... create a web site and FTP site on IIS. ... Do you have an example script I can work with? ...
    (microsoft.public.windows.server.scripting)
  • Re: Secured IIS Project - IIS 4.0 Secure Script
    ... Secured IIS Project - IIS 4.0 Secure Script ... Machines which were upgraded from IIS 2.0 (original NT installation), ... Remove FTP Service ...
    (NT-Bugtraq)
  • Re: INETINFO and ASP Trouble
    ... seeing many IIS and ASP errors in the event log, ... > Event Type: Error ... > Event Source: Service Control Manager ... IIS log failed to write entry, Script timed out. ...
    (microsoft.public.inetserver.iis)
  • RE: Error while running a virtual site by using a mapped drive
    ... IIS6/win2003 std server. ... ** the virtual directory is not existing or accessible, for example, you ... ** the IIS process doesn't have sufficient permission to access the ... is not correctly configured for the virtual directory's UNC share. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: IIS 4.0 DOS attack?
    ... Subject: IIS 4.0 DOS attack? ... patch distribution script we use (exploded hotfixes applied through ... a lot of our servers were fine -- we just ...
    (Focus-Microsoft)