Reputation: 593
Recently I need to deploy our website into a QA environment. I find that there are a lot of options in the deployment methods, including FTP and Web Deploy. Before, I often used FTP deployment, which would copy all the website files from Visual Studio to the Server.
But this time, I noticed the Web deploy method. It also requires an account and password to upload the files. But what is the difference between the two methods?
Upvotes: 15
Views: 8586
Reputation: 10213
Web deploy offers several benefits over FTP. Here's the sum up:
Web Deploy is faster than FTP. Web Deploy is secure. Web Deploy can apply transforms during deployment. Web Deploy integrates with Visual Studio 2010 and WebMatrix. Web Deploy is extensible.
You can read the full comparison details here.
Upvotes: 10
Reputation: 485
I used both. In my opinion:
Web deploy: take an example, when you have many users on the server, each user has one website, and web deploy is for each user with each website -> I can't deploy my website to another folder of other user's website, because I don't have permission.
FTP: like when you are the administrator of a server, you can deploy directly. With FTP, you can open Windows Explorer, pass the link: fpt://domain.com → Enter → and then you can copy/paste seem like a local computer without FTP deploy in Visual Studio. But make sure the server can open an FTP connection here.
Upvotes: 1