IIsFtpService (WMI)

This class corresponds to the IIsFtpService IIS Admin object, and contains the methods and read-only properties for the object.

Win32_Service (WMI)

Methods in Vtable Order

The IIsFtpService object defines the following method, in addition to those inherited from Win32_Service (WMI).

Method

Description

IIsFtpService.CreateNewSite (WMI)

The CreateNewSite method creates a new FTP site on an IIS 6.0 server. CreateNewSite works in the following way:

  • If the method succeeds, it returns a reference to the site identification number for the newly created site.

  • If the method fails to create a site, it returns an error. This may happen if the ServerId does not exist. If a site already exists with the ServerComment that you want to use, an error is not returned because the new site can still be created with a unique site identification number. See the Remarks.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also