title: How to set physical path to upload a file in Asp.Net?
body: <p>I want to upload a file in a physical path such as <strong><code>E:\Project\Folders</code></strong>.</p>
  
  <p>I got the below code by searching in the net.</p>
  
  <pre><code>//check to make sure a file is selected
  if (FileUpload1.HasFile)
  {
      //create the path to save the file to
      string fileName = Path.Combine(Server.MapPath("~/Files"), FileUpload1.FileName);
      //save the file to our local path
      FileUpload1.SaveAs(fileName);
  }
  </code></pre>
  
  <p>But in that, I want to give my physical path as I mentioned above. How to do this?</p>