Activity Stream
48,167 MEMBERS
6788 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    Member

    Default How do file hosters count traffic?

    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")?
    Momoe Reviewed by Momoe on . How do file hosters count traffic? 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 Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    diamondsrv.org hbgalaxy.com reversedhosting.com blazehost.us
    Filehosts have there ways of working out things.

    If a download is aborted, as its not completed, they wont count it.

  4.     
    #3
    Member
    Website's:
    reddit.com
    Just a heads up, the OP wants to know HOW they do it, what code/script whaever they use, because maybe he is working on something similar.
    ''Filehosts have there ways of working out things.'' is not a really a helpful reply.
    I dont know the answer, i just replied to avoid getting other replies with no sense.
    I design free logos. click here.

  5.     
    #4
    OH GOD!!!!!
    Website's:
    HotNewHipHop.com
    Im guessing they use a system which callsback to them once the download its completed, try downloading a filesharing script and try to look and test out how it works,

  6.     
    #5
    Member
    Quote Originally Posted by Maniac_ View Post
    Just a heads up, the OP wants to know HOW they do it, what code/script whaever they use, because maybe he is working on something similar.
    Yes right. I'm just interested in the technical aspect (don't want to actually use it for now).

    Quote Originally Posted by bxflow View Post
    Im guessing they use a system which callsback to them once the download its completed, try downloading a filesharing script and try to look and test out how it works,
    I doubt I will find something since most if not all scripts are crap anyway. Of course you can implement it using php for example, but that is not efficient at all. I think the web-server has to be involved somehow as noted.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sites count 1Kb file size ??
    By agwa in forum File Host Discussion
    Replies: 14
    Last Post: 21st Oct 2012, 05:05 PM
  2. Which file hosts count multiple downloads from same IP?
    By chocoholic in forum File Host Discussion
    Replies: 6
    Last Post: 14th Sep 2012, 06:01 PM
  3. Which file hosters payout to Alertpay?
    By Ljavdo in forum File Host Discussion
    Replies: 12
    Last Post: 25th Jan 2011, 12:51 PM
  4. Replies: 8
    Last Post: 11th Dec 2010, 12:52 AM
  5. stash.in domain for file hosters
    By sniffdog in forum Completed Transactions
    Replies: 0
    Last Post: 8th Nov 2009, 04:44 PM

Tags for this Thread

BE SOCIAL