title: Download file just uploaded with html input file
body: <p>I have classic HTML input type for file</p>
  <pre><code>&lt;input type=&quot;file&quot; id=&quot;xxx&quot; name=&quot;xxx&quot; /&gt;
  </code></pre>
  <p>And I want the user to have an option to download back the file he just uploaded.</p>
  <p>I tried to do it with javascript to download via filepath, but chrome seems to have some security feature that replaces the real path with &quot;fakepath&quot;</p>
  <blockquote>
  <p>C:\fakepath\xxx.pdf</p>
  </blockquote>
  <p>Any idea how to download the uploaded file (just client side, not submitting the form yet) ?</p>