How to detect when a long download is finished in a web server?

Posted by Shabbyrobe on Stack Overflow See other posts from Stack Overflow or by Shabbyrobe
Published on 2010-06-03T05:27:27Z Indexed on 2010/06/03 5:34 UTC
Read the original article Hit count: 166

Filed under:
|
|

I need a web server that allows me to remove a file after it has been successfully downloaded once. Is there any way to do this with apache?

Is there another web server I can use for this task? I had already looked into Tornado for this purpose, but couldn't find a way to get an event to fire as soon as the download finished. the on_connection_close would only fire when I shut down the server.

I'd prefer something PHP or Python-based if I have to code it myself.

© Stack Overflow or respective owner

Related posts about apache

Related posts about webserver