Share via


IIsFtpVirtualDir (ADSI)

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

Parameters

  • 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

Windows ADSI Object Properties

Metabase Properties

AccessFlags

Path

DontLog

UNCPassword

FtpDirBrowseShowLongDate

UNCUserName

IPSecurity

Methods

Windows ADSI Object Methods

Standard methods for ADSI objects.

Windows ADSI Container Object Methods

Standard methods for ADSI container objects.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS