2025-04-27 07:49:33 -04:00

161 lines
5.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>IIsFtpVirtualDir</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H2><A NAME="_k2_iisftpvirtualdir"></A><SUP></SUP>IIsFtpVirtualDir</H2>
<P>You can use the <B>IIsFtpVirtualDir</B> object to set metabase properties that apply to one or all FTP virtual directories for an FTP server. If you use this object at the server's root virtual directory (for example, .../MSFTPSVC/2/ROOT), inheritable property values will apply to all FTP virtual subdirectories of the root virtual directory of the second FTP server. You can set properties for a specific FTP virtual directory by using the <B>IIsFtpVirtualDir</B> object for a specific virtual directory (for example, .../MSFTPSVC/2/ROOT/AVDir).</P>
<P>The <B>IIsFtpVirtualDir</B> object is an ADSI container object. </P>
<H6>ADsPath</H6>
<P>For the server's root virtual directory,
<DL>
<DT>IIS://<I>MachineName</I>/MSFTPSVC/<I>N</I>/ROOT</DT>
<DT></DT>
</DL>
<P>where <I>MachineName </I>can be any name or "LocalHost."</P>
<P>For a specific virtual directory,
<DL>
<DT>IIS://MachineName/MSFTPSVC/<I>N</I>/ROOT/<I>vdirName</I></DT>
<DT></DT>
</DL>
<P>where <I>MachineName </I>can be any name or "LocalHost."</P>
<H6>Syntax</H6>
<P><I>varReturn </I><B>= </B><I>object</I>.<I>Method</I></P>
<P>&nbsp;</P>
<H6>Parts</H6>
<DL>
<DT><I>varReturn</I></DT>
<DD>A variable that receives the return value from the method.<BR>
</DD>
<DT><I>object</I></DT>
<DD>A variable that contains the <B>IIsFtpVirtualDir</B> object, usually as a result of a previous <B>GetObject</B> operation.<BR>
</DD>
<DT><I>Method</I></DT>
<DD>The object method chosen.</DD>
</DL>
<H6>Can Contain</H6>
<P><B>IIsFtpVirtualDir</B></P>
<H6>Properties</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=cols>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi57hv.htm">ADSI Object Properties</A></TD>
<TD class=blue width=50%>&nbsp;</TD>
</TR>
</TABLE><BR>
<H6>Metabase Properties</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro2n1v.htm"><B>AccessFlags</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro2k1l.htm"><B>IPSecurity</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro5wv8.htm"><B>AccessRead</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro3qlk.htm"><B>Path</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro063p.htm"><B>AccessWrite</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro9r38.htm"><B>UNCPassword</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro1g9z.htm"><B>DontLog</B></A></TD>
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro6wbp.htm"><B>UNCUserName</B></A></TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro1k9x.htm"><B>FtpDirBrowseShowLongDate</B></A></TD>
<TD width=50%>&nbsp;</TD>
</TR>
</TABLE><BR>
<H6>Methods</H6>
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi0ewj.htm">ADSI Object Methods</A></TD>
<TD width=50%>Standard methods for ADSI objects</TD>
</TR>
<TR VALIGN="top">
<TD width=50%><A HREF="/iishelp/iis/htm/asp/adsi7qpf.htm">ADSI Container Object Methods</A> </TD>
<TD width=50%>Standard methods for ADSI container objects</TD>
</TR>
</TABLE><BR>
<hr class="iis" size="1">
<p align="center"><em><a href="../../../common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</BODY>
</HTML>