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 4 of 4

Thread: Large Files

  1. #1
    Regular Coder
    Join Date
    Sep 2009
    Location
    Calgary, Alberta
    Posts
    239
    Thanks
    47
    Thanked 3 Times in 3 Posts

    Large Files

    What is the best way to treat large files for uploading?

    I have a need of uploading file that are upto 350 megs and etc..

    and need to either upload via ftp and make a nice download page with database for them..

    not sure what to do?

    any thoughts?


    and can you actually upload to a host of 350 megs via http? or should you?

    Thanks, Slayer.

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,344
    Thanks
    60
    Thanked 527 Times in 514 Posts
    Blog Entries
    4
    To be honest, you're rarely going to be on any server that will allow you to upload that size of file via http unless you have a vps / dedicated server of your own. Thats because of the way apache and php are setup and the max file sizes etc.

    The only way I see around it is ftp. You could combine that with a flash app embedded in the page that will accept the file and then perform the upload via ftp itself while displaying a progress bar or something.

    Thats the most I can advise, I can only assume flash has this capability - it's been 10 years (or more) since I last used flash and back then it was version 4
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • Users who have thanked tangoforce for this post:

    SlayerACC (10-21-2012)

  • #3
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    You can do chunked uploading to get around that file size limit. Here is an example for Plupload: http://www.plupload.com/example_queuewidget.php

  • Users who have thanked Inigoesdr for this post:

    SlayerACC (10-21-2012)

  • #4
    Regular Coder
    Join Date
    Sep 2009
    Location
    Calgary, Alberta
    Posts
    239
    Thanks
    47
    Thanked 3 Times in 3 Posts
    Thanks guys for the information, I will look deeper into the situation and see what I can do based on your help

    Sorry it took so long to say thanks.


    Slayer


  •  

    Posting Permissions

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