Web downloader

Discussion in 'Programming Chat & Support' started by EriX920, February 2, 2010.

  1. EriX920

    EriX920 FS Administrator

    All talk and ideas will be posted here in this thread. Mostly talk from me and Oldfart.

    -- The web downloader will allow administrators to add authIds to the system to access files
    -- The admin section will allow for admins to add servers which the files are hosted at

    Database layout -

    - Filename(String Char 100)
    - Filesize (In Bytes? Integer BigInt 30)
    - CServer IP

    - AuthID (String Char34)
    - Access Flags (admin/client) (String)
    - Authed (Boolean)

    - IP Address
    - Attempts

    - Max bandwidth
    - Download script URL
    - ConCurrent download limit

    Please don't post unless you have good suggestions!!
  2. oldfart

    oldfart Member

    Hi Erix920,

    It's good to see that your idea has produced some interest over at http://cs.rin.ru! ;)

  3. oldfart

    oldfart Member

    BTW: Where are those PHP/Apache/MySQL gurus when we need them ?

    I was following up a few of the pointers that Da_FileServer gave us and I've found some things that I'd forgot (thank God for reference books - I even found my old ASP.NET book)! :rolleyes:

    	if	( $validated ) {
    		$filename = 'files/motd.bin';
    		header( 'Content-Disposition: attachment; filename="motd.bin' );
    		//$mimetype = 'application/octet-stream';
    		//$mimetype = 'mime/type';
    		//header('Content-Type: '.$mimetype );
    		readfile_chunked( $filename );
    	else {
    		header( "Location: http://fs.updates.net.au/" );		
    		//echo 'oldFart says piss off.';
    You can test it at http://www.yasamm.com ;) - I may go poke the link on the end of the fs.updates.net.au and see if that works! 8O
  4. EriX920

    EriX920 FS Administrator

    Good to hear, hopefully those books will make your coding easier and more efficient.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice