Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 297
Hamza Baig Avatar asked Jun 30 '15 04:06

Hamza Baig


1 Answers

  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

like image 193
Rohit Arora Avatar answered Nov 16 '22 00:11

Rohit Arora