Get download progress from webserver (lighttpd, nginx etc.)

Discussion in 'Server Operation' started by a.m, May 23, 2011.

  1. a.m

    a.m New Member


    is there any way to get download progress (status) of downloading file from webserver which is serving static files (nginx, lighttpd etc.)? From my webapp I redirect user to download file from static webserver and later I need to know if the user downloaded whole file or cancel downloading or download is still running. On lighttpd there is some status page /server-status, which contain basic info about running downloads. But immediately after download is cancelled or completed info about this download disappear from status page.


  2. koressak

    koressak New Member

    I think that unless you can handle these downloads by yourself (by your webapp), there is no easy way of determining which state the download ended in (running, canceled,...).

    The server usually logs requests, not a completed transfers (like ftp servers do). Could you use some user interaction to confirm download? Or you just want to monitor user actions?

Share This Page