title: download files from external url, and pass the file to user directly, without saving it on my server.
body: <p>Basically I want to download a file from an external host and pass it directly to the user without having to be saved on the server, in practice, act as a proxy for this file, so that the request is always made from my server and not the user. 
  Should I simulate this request: </p>
  
  <pre><code>GET / servername / filename.ext HTTP/1.1 (any large file) 
  Host: namehost 
  User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv: 27.0) Gecko/20100101 Firefox/27.0 
  Accept: text / html, application / xhtml + xml, application / xml; q = 0.9, * / * q = 0.8 
  Accept-Language: en-us, en; q = 0.8, en-US; q = 0.5, en; q = 0.3 
  Accept-Encoding: gzip, deflate 
  Referer: sitename / ... 
  Cookie: .... 
  Connection: keep-alive 
  </code></pre>
  
  <p>I already have the necessary cookies, and all the necessary headers but I can not start the download, I tried using different scripts in Curl, but the download does not start. </p>
  
  <p>Can anyone help me please.</p>