title: HTTP File Download: Monitoring Download Progress
body: <p>I am in a situation, when I have to implement downloading of large files(up to 4GB) from a Web server: Apache 2.4.4 via HTTP protocol. I have tried several approaches, but the best solution looks to be the usage of X-SendFile module.</p>
  
  <p>As I offer progress bar for file uploads, I would need to have the same feature for file downloads. So here are my questions:</p>
  
  <ul>
  <li>Is there any way, including workaround, to achieve file downloads progress monitoring?</li>
  <li>Is there any way, including workaround, to calculate file download transfer speed?</li>
  <li>Is there better way to provide efficient file downloads from a web server than usage of X-Sendfile module?</li>
  </ul>
  
  <p>Is there better file download option in general, that would allow me to monitor file download progress? It can be a client (JavaScript) or server solution(PHP). Is there any particular web server that allows this? </p>
  
  <p>Currently I use:</p>
  
  <ul>
  <li>Apache 2.4.4</li>
  <li>Ubuntu</li>
  </ul>
  
  <p>Many times thanks.</p>