启动 FTP 服务
Microsoft.Windows.InternetInformationServices.10.0.FTPServer.StartFTPServerService.Task (Task)
此任务将启动当前停止的 FTP 服务。Nano 上不支持。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.10.0.FTPServer.StartFTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.FTPServer" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.10.0.ControlService">
<Operation>start ftpsvc</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>