次の方法で共有


IIsFtpServer (ADSI)

You can use the IIsFtpServer object to set metabase properties that apply to a specific FTP server and to set inheritable metabase properties for FTP virtual directories. Specific methods are also available to control server operation. FTP servers are identified in the metabase by their index numbers. The first FTP server is number 1, the second is number 2, and so on.

The IIsFtpServer object is an ADSI container object.

ADsPath

  • IIS:// MachineName/MSFTPSVC/ N

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 IIsFtpServer object, usually as a result of a previous GetObject operation.

  • Method
    The object method chosen.

Can Contain

IIsFtpVirtualDir (ADSI)

Properties

Windows ADSI Object Properties

Metabase Properties

A -I

AccessFlags

ConnectionTimeout

AdminACL

DefaultLogonDomain

AllowAnonymous

DisableSocketPooling

AnonymousOnly

DontLog

AnonymousPasswordSync

ExitMessage

AnonymousUserName

FtpDirBrowseShowLongDate

AnonymousUserPass

GreetingMessage

IPSecurity

Log...

LogAnonymous

LogExtFileFlags

LogFileDirectory

LogFileLocaltimeRollover

LogFilePeriod

LogFilePeriod

LogFileTruncateSize

LogNonAnonymous

LogOdbcDataSource

LogOdbcPassword

LogOdbcTableName

LogOdbcUserName

LogPluginClsid

LogType

M-S

MaxClientsMessage

ServerBindings

MaxConnections

ServerComment

MaxEndpointConnections

ServerListenBacklog

MSDOSDirOutput

ServerListenTimeout

Realm

ServerSize

ServerAutoStart

ServerState

Methods

IIsFtpServer.Continue (ADSI)

Resumes the server.

IIsFtpServer.Pause (ADSI)

Pauses the server.

IIsFtpServer.Start (ADSI)

Starts the server.

IIsFtpServer.Status (ADSI)

Retrieves the current status of the server.

IIsFtpServer.Stop (ADSI)

Stops the server.

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