简体   繁体   English

IIS Webdeploy:将文件复制到客户端

[英]IIS Webdeploy: copy files to client

I am trying to copy some files to a destination Folder (which should be no problem with Webdeploy) and after that process I would like to get these files on the client (the computer which is starting the msdeploy process). 我试图将一些文件复制到目标文件夹(Webdeploy应该没有问题),并且在该过程之后,我想在客户端(正在启动msdeploy进程的计算机)上获取这些文件。 There seem to be a lot of examples on how to copy files to a server, but I could not find any about geting files from the server. 关于如何将文件复制到服务器,似乎有很多示例,但是我找不到从服务器获取文件的任何示例。

What you are describing is not currently supported by MSDeploy. MSDeploy当前不支持您所描述的内容。 Workarounds that I can think of include: 我可以想到的解决方法包括:

  • Defining a postSync argument that copies files to a directory accessible via FTP 定义将文件复制到可通过FTP访问的目录的postSync参数
  • Install MSDeploy on the client and have the server trigger a separate deployment back to the client (this would require that the client be publically accessible) 在客户端上安装MSDeploy并让服务器触发单独的部署回客户端(这将要求客户端可公开访问)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM