Just out of interest, how do file hosters count the exact traffic a user has generated for a file. I know there is x-sendfile feature which makes it possible to send a file natively via web-server (instead of e.g. php), but what happens if a user starts a 100mb download and aborts after 1mb? Of course only 1mb should be counted, not 100mb.
How to do this? Is this some kind of special module for e.g. nginx/lighttpd, maybe connected with mysql (e.g. "update download traffic in database every 10mb")?
How to do this? Is this some kind of special module for e.g. nginx/lighttpd, maybe connected with mysql (e.g. "update download traffic in database every 10mb")?