Results 1 to 4 of 4

Thread: Site FTP Upload

  1. #1
    Join Date
    May 2004
    Montgomery, AL

    Site FTP Upload

    I designed a website for a printing / publishing company a while back. They are now wanting to add a page to the site for their customers to upload graphics and items to be published. They have been sending them through email but there is a 10Mb limit on message size. What is the most efficient way to create a webpage based FTP that an everyday user can understand?

    Please include a link to sample code or pages if available. Any help is greatly appreciated.

  2. #2

  3. #3
    Join Date
    Sep 2004
    South Africa

  4. #4
    Join Date
    Jan 2003
    Los Angeles, CA USA
    We host a site for a printing company that does just what you are requesting. For them we installed.

    You should limit what can be uploaded and it is best to upload to the root below the public area or you will find warez files in the web space with large amount of bandwidth being used.

    The files we allow for them are the following:
    @good_extensions = ('gif', 'jpg', 'doc', 'jpeg', 'png', 'sit', 'zip', 'tif', 'psd', 'ai', 'qxd', 'pmd', 'p65', 'fh8', 'sea', 'pdf', 'GIF', 'JPG', 'JPEG', 'PNG', 'SIT', 'ZIP', 'TIF', 'PSD', 'AI', 'QXD', 'PMD', 'P65', 'FH8', 'SEA', 'PDF')

    @bad_extensions = ('exe', 'cgi', 'pl')

    Since it is a cgi script you don't have to worry about any limits imposed by php.ini files of your host.
    Link On Us .com
    H-Sphere Windows & Linux Hosting - Since 1998
    One Wilshire Corridor, Los Angeles, Calif

Posting Permissions

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