title: Upload File from local computer to server c#
body: <p>Is there any way to upload a PDF file that is on my local computer in a way where anyone can retrieve the PDF?</p>
  <p>If I do something like</p>
  <pre><code>var filename = @&quot;c:\test.pdf&quot;;
  m.Attachments.Add(new Attachment(filename));
  </code></pre>
  <p>Anyone who goes onto the website has to have the same local path and same test.pdf file in the correct place (which would be impossible). So is there a way I can go about having to upload the pdf so it's not hard coded with a local path?</p>