How to publish ASP.NET MVC site with File Zilla using FTP

Hamza Baig picture Hamza Baig · Jun 30, 2015 · Viewed 10.4k times · Source

I made an account to a Web Hosting site which only allows transfers & uploads using FTP. So, I tried hard to figure it out how to publish my Site with FTP. I tried Visual studio Publish but It didn't work. Now I want to upload it manually using File Zilla. Does anyone know which folders to upload from my Solution (Project). There are lots of so i am confused. If you can also explain about SQL Server setup. I would be highly grateful to you.

Answer

Rohit Arora picture Rohit Arora · Jun 30, 2015
  1. Open your project in Visual studio. Right click on your main project and click publish
  2. Create a new profile with any name.Click next.
  3. Select publish method as File System.
  4. Also Select the location where you want to save.Click next.
  5. Select Configuration as Release-Any CPU.
  6. Click Publish.

Now you have published it on the location provided by you in 4th step.

Copy all the files from this location and upload it using FTP to the directory of your website where you want to.

For more information. Visit this link How to Publish