Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd May 2011, 16:37
a.m a.m is offline
Junior Member
 
Join Date: Feb 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 28th May 2011, 12:34
koressak koressak is offline
Junior Member
 
Join Date: Aug 2010
Location: Prague, Czech Republic
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

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?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support Lighttpd and Nginx ryan14 Feature Requests 17 1st June 2011 13:37
Courier issues, new install, cant connect Smitherines Server Operation 9 14th April 2011 16:25
Clamd dying same time each day. mpl Server Operation 13 15th February 2011 15:03
slow download through webserver problem snewp Technical 14 9th May 2008 05:25
User constantly loggin into mail? bswinnerton Installation/Configuration 2 24th March 2008 00:12


All times are GMT +2. The time now is 00:21.


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