title: File uploading in MVC 4
body: <p>I simply tried this, but its not working, what is the problem in it, </p>
  
  <p>MY index page:</p>
  
  <pre><code> @{
   ViewBag.Title = "Index";
   }
  
    @using (Html.BeginForm("Upload", "Home", FormMethod.Post, new { enctype = "multipart/from-    data" }))
      { 
         &lt;div&gt;
         &lt;h1 style="align-content: center; color: blueviolet"&gt;Application to upload files&lt;/h1&gt;
         &lt;/div&gt;
         &lt;div&gt;
         &lt;input type="file" id="file" name="file" /&gt;
         &lt;br /&gt;
         &lt;input type="submit" id="load" name="submit" value="Submit" /&gt;
         &lt;/div&gt;
  
         }
  </code></pre>
  
  <p>And My controller is, </p>
  
  <pre><code>                  [HttpPost]
      public ActionResult Upload()
      {
          string path = @"~/Content/Upload";
  
          HttpPostedFileBase file = Request.Files["file"];
  
          if (file != null)
              file.SaveAs(path + file.FileName);
  
          return Content("Sucess");
      }
  </code></pre>