## IIsFtpVirtualDir

You can use the IIsFtpVirtualDir 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 IIsFtpVirtualDir object for a specific virtual directory (for example, .../MSFTPSVC/2/ROOT/AVDir).

The IIsFtpVirtualDir object is an ADSI container object.

###### ADsPath

For the server's root virtual directory,

IIS://MachineName/MSFTPSVC/N/ROOT

where MachineName can be any name or "LocalHost."

For a specific virtual directory,

IIS://MachineName/MSFTPSVC/N/ROOT/vdirName

where MachineName can be any name or "LocalHost."

###### Syntax

varReturn = object.Method

###### Parts

varReturn
  A variable that receives the return value from the method.
object
  A variable that contains the IIsFtpVirtualDir object, usually as a result of a previous GetObject operation.
Method
  The object method chosen.

###### Can Contain

IIsFtpVirtualDir

###### Properties

ADSI Object Properties |

###### Metabase Properties

AccessFlags | IPSecurity
AccessRead | Path
AccessWrite | UNCPassword
DontLog | UNCUserName
FtpDirBrowseShowLongDate |

###### Methods

ADSI Object Methods | Standard methods for ADSI objects
ADSI Container Object Methods | Standard methods for ADSI container objects

© 1997-2001 Microsoft Corporation. All rights reserved.