Last post Sep 20, 2007 04:00 AM by Joannes Vermorel
Sep 18, 2007 03:28 AM|Joannes Vermorel|LINK
I have setup a WDP; and now I would like to publish the output of the WDP through FTP in a scriptable manner. Does anyone knows how to do that?
lokad.com demand forecasting
Sep 20, 2007 02:42 AM|Benson Yu - MSFT|LINK
Based on my understanding, you have created the Web Deployment project output. Now you want to know how to use script to upload the output to Server via FTP protocol. If I have misunderstood your concern, please let me know.
For this scenario, we can use the ftp command to upload the web site. For example:
1. First connect to the Remote Server. (ftp www.somename.com)
2. Then use “mput” switch to upload multiple files. (ftp> mput *.aspx)
3. Repeat uploading other files.
For the detailed information, please refer to the following link:
Using command line FTP to upload to a web site
Sep 20, 2007 04:00 AM|Joannes Vermorel|LINK
Thanks for the tips, you've correctly guessed our situation and our needs.
Actually, we have a lot of directories; the script generation is going quite a complex task. Also, we need to clean-up first the target FTP directory.
I have been in contact with "MsBuild Community Tasks" team recently; and it seems that they are planning a FtpMassUpdate task that would basically solve this issue.