Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Download Queuing?

    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?

  • #2
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    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.
    You can not say you know how to do something, until you can teach it to someone else.

  • #3
    New to the CF scene
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 =/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •