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. For more information on ADSI container objects, see ADSI Features.
Where MachineName can be any name or "LocalHost".
varReturn = object.{Method}
Metabase Properties
ADSI Object Methods | Standard methods for ADSI objects |
ADSI container object methods | Standard methods for ADSI container objects |
Common Object Methods | Methods, other than ADSI methods, common to all IIS Admin Objects |
Continue | Resumes the server |
Pause | Pauses the server |
Start | Starts the server |
Stop | Stops the server |