HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Get download progress from webserver (lighttpd, nginx etc.) (http://www.howtoforge.com/forums/showthread.php?t=52809)

a.m 23rd May 2011 16:37

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

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.

Thanks.

A.

koressak 28th May 2011 12:34

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?


All times are GMT +2. The time now is 06:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.