title: YouTube-dl server direct file download
body: <p>I have succesfully installed youtube-dl on my server and from command line everything is working like a charm.</p>
  
  <p>Now I want to be able to call a link on my site from my web browser which directly initiates a download of the file. So in that order:</p>
  
  <ol>
  <li><p>Open site in browser (for example <a href="http://example.com/download.php?v=as43asx3" rel="nofollow">http://example.com/download.php?v=as43asx3</a></p></li>
  <li><p>YouTube-dl processes the input </p></li>
  <li><p>Web-browser downloads file </p></li>
  <li><p>Temporary files will be deleted from server</p></li>
  </ol>
  
  <p>I am not very experienced with this, but nevertheless need to solve this issue. </p>