Stop FTP Service

Microsoft.Windows.InternetInformationServices.2008.FTPServer.StopFTPServerService.Task (Task)

This task will stop the FTP service if it is currently started.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.FTPServer
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.InternetInformationServices.2008.ControlService Default

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.2008.FTPServer.StopFTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2008.FTPServer" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.2008.ControlService">
<Operation>stop ftpsvc</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>