title: Get real path instead of 'fakepath' in file upload
body: <p>I face the following problem:</p>
  
  <p>When a user uploads a file with the HTML file input and I then want to receive the file path itself. I only get <code>C:/fakepath/filename.txt</code> for example.</p>
  
  <p>I understand that it is a security reason for browsers to know the exact path of the file. So i was wondering if it is even possible with some hack, some way in .net or with additional jquery/js plugin to get the full path of the file.</p>
  
  <p><strong>Why</strong>?</p>
  
  <p>We dont want to upload the file itself to our server filesystem, neither to the database. We just want to store the local path in the database so when the same user opens the site, he can click on that path and his local file system opens.</p>
  
  <p>Any suggestions or recommendations for this approach?</p>
  
  <p>If this is really not possible like</p>
  
  <p><a href="https://stackoverflow.com/questions/4851595/how-to-resolve-the-c-fakepath">How to resolve the C:\fakepath?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/24079117/how-to-get-real-path-of-a-file-using-jquery">How To Get Real Path Of A File Using Jquery</a></p>
  
  <p>we would need to come up with a diffrent idea I guess. But since some of the answers are really old, I thought maybe there is a solution to it by now. Thx everyone</p>