How to deploy a Visual Studio 2010 Web Application Project to a DiscountASP.NET server using FTP

The following instructions apply only to , and policies.  For Web Site Projects, please see this Knowledge Base article.

To publish a web application using FTP:
  • Open the project in Visual Studio 2010.
  • Click Build -> Publish. This will bring up the "Publish Web" dialog box.
  • Change the "Publish Method" to FTP.
  • In the target location field, enter: ftp://[domainName]/[subdirectory], e.g.;  ftp://yourhosteddomain.com/app1.  Replace [subdirectory] with the directory you wish to publish the application to.
  • In username field, enter the FTP user name found in Control Panel.
  • In the password field, enter the FTP password.
  • Click Publish.




Related articles:
Visual Studio 2010 Deployment Overview
How do I deploy a Visual Studio 2010 Web Site Project using the Copy web site feature?
How do I deploy a Visual Studio 2010 Web Site Project using Publish Web Site feature?
How do I deploy a Visual Studio 2010 Web Application Project using Web Deploy?