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
Properties
Windows ADSI Object Properties |
Metabase Properties
A -I |
|
Log... |
|
M-S |
|
Methods
Resumes the server. |
|
Pauses the server. |
|
Starts the server. |
|
Retrieves the current status of the server. |
|
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