Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mariahlullaby

macrumors 6502a
Original poster
While my site is still on hiatus, I'm going to let a friend use my server to host some files for her site (which gets upwards of 10.000 visitors a day). Because these will be video files and because the site gets a TON of downloads, they tend to host files on RapidShare. I have about 200 GB of bandwidth a month to use and plenty of room. What I want to know, is there a script that will disable the download link once the bandwidth limit is reached??

Thanks!!
 
I don't know what or who hiatus is, but in most cases you would need a custom software solution to limit bandwidth/data transfer.

You might need to create some scripts that monitor the number of downloads and the size of each download so that you can add restrictions.

On the other hand, some web servers allow you to limit these things, but you would probably need root/admin access to your server.
 
dornoforpyros said:
chances are once you exceed your bandwidth your host will shut you down anyways.

Or, worse, not shut you down but start the meter running for per GB bandwidth use. It's like cell phone cos.--they're happy to charge for overage (assuming your credit is good).
 
mariahlullaby said:
While my site is still on hiatus, I'm going to let a friend use my server to host some files for her site (which gets upwards of 10.000 visitors a day). Because these will be video files and because the site gets a TON of downloads, they tend to host files on RapidShare. I have about 200 GB of bandwidth a month to use and plenty of room. What I want to know, is there a script that will disable the download link once the bandwidth limit is reached??

Thanks!!

google for some scripts that work on your particular server setup.
 
What OS is running on your server? Are you using Apache?

You'll need either custom programming or will need to find an off-the-shelf software that can do this for you. Or, you'll just have to keep checking your server logs to see how much bandwidth is being used and do it manually once you see the limit has been reached.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.