Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Deploy mvc application on ftp

Deploy mvc application on ftp

Scheduled Pinned Locked Moved ASP.NET
asp-netcsharpdatabasesysadminarchitecture
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DPaul1994
    wrote on last edited by
    #1

    Hi. I have created an ASP.NET MVC 4 application and I published it on a ftp server. When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there. Can anybody tell me if I have to do something else after publishing the project? I just created a project and I uploaded to the server to see if it works.

    A 1 Reply Last reply
    0
    • D DPaul1994

      Hi. I have created an ASP.NET MVC 4 application and I published it on a ftp server. When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there. Can anybody tell me if I have to do something else after publishing the project? I just created a project and I uploaded to the server to see if it works.

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      Quote:

      I have created an ASP.NET MVC 4 application and I published it on a ftp server.

      Are you sure? You actually publish your website through FTP services, you cannot publish it on FTP server. FTP is used to transfer the files.

      Quote:

      When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there.

      Indeed, that is what happens when you use donkey where you want a horse! Anyways, as I have already told you FTP server is just used to share the files on the network, thus the name of the protocol (and the service) File Transfer Protocol[^]. The protocol which is used to host or share the web pages is HTTP (Hyper-text transfer protocol[^]). HTTP is used by hosting services (you should get a hosting company for a website, not for file transfering). When you read the pages for an FTP, you will always get the files in a list. Such as directories and files are always present in a hierarchy. HTTP in opposite, returns the content of that page (index, or default; depends). They are separate protocols, used for separate needs! :-) I hope I made myself clear enough.

      The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

      D 1 Reply Last reply
      0
      • A Afzaal Ahmad Zeeshan

        Quote:

        I have created an ASP.NET MVC 4 application and I published it on a ftp server.

        Are you sure? You actually publish your website through FTP services, you cannot publish it on FTP server. FTP is used to transfer the files.

        Quote:

        When I access the link, it shows me the files that are in the folder, not the index page, so I think something is missing from there.

        Indeed, that is what happens when you use donkey where you want a horse! Anyways, as I have already told you FTP server is just used to share the files on the network, thus the name of the protocol (and the service) File Transfer Protocol[^]. The protocol which is used to host or share the web pages is HTTP (Hyper-text transfer protocol[^]). HTTP is used by hosting services (you should get a hosting company for a website, not for file transfering). When you read the pages for an FTP, you will always get the files in a list. Such as directories and files are always present in a hierarchy. HTTP in opposite, returns the content of that page (index, or default; depends). They are separate protocols, used for separate needs! :-) I hope I made myself clear enough.

        The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

        D Offline
        D Offline
        DPaul1994
        wrote on last edited by
        #3

        Thank you for your reply. I have found the problem. The problem was caused by the web server, because it didn't accept ASP.NET version for my project. So I have to choose another provider.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups