(MSDeploy) Развертывание содержимого папки на удаленном сервере IIS
Можно ли развернуть содержимое папки (обычные HTML-файлы) в определенном веб-приложении на удаленном сервере IIS6 / 7?
Следующая команда не выдает ошибку, но и не публикует файлы на удаленном сервере:
msdeploy.exe -verb:sync -source:dirPath="c:\myHtmlFiles" -dest:auto,ComputerName="http://deploy.mycompany.co.uk/msdeploy?site=TestSite",includeAcls="false",username="administrator",password="myPassword" -enableRule:DoNotDeleteRule -disableLink:AppPoolExtension -disableLink:ContentExtension -allowUntrusted
НОТА:
WebDeploy is correctly installed on the destination server and works happily with packages created from msbuild scripts for .NET projects. 'http://deploy.mycompany.co.uk/msdeploy' is correct for the listening end-point. The '?site=TestSite' query string was suggested elsewhere, but does not work. The 'TestSite' web application exists on the target server. Parameter files and -setParam do not work, and renders errors relating to the source not supporting the parameter 'IIS Web Application Name' if you attempt to set, declare, or provide it.