Stop an FTP Server

Stops the FTP server MSFTPSVC/1.

VBScript Code


strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & strComputer & "/MSFTPSVC/1")

objIIS.Stop