03-13-2007, 05:38 AM
Hi i host a download site for music and my site's been crashing because my host can only support up to 150 simultaneous connections. So i figured I do something like SendSpace where if the download slots are full, you have to wait. I was wondering if anyone has any idea on how to do this?
03-13-2007, 11:37 AM
There are different ways to achieve this. You could put all the music files in a restricted folder then when someone wants dl a song you could move it temperarly to a public folder. You could store their users session ID or a randomly created hash to a que. This hash/ ID would be the name of the file to download. the dowloads would have a time to live.
03-13-2007, 08:42 PM
thanks for your reply timgolding, but i would like to have the download taken off the slot once the download is finished....not have a timed expiration link. And i would also like to prevent simultaneous downloads =/