SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2006
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    file upload considerations

    Hello all,

    I am designing an application that will upload 20-30mb files over a slow connection. Are there any inherent timeout issues that I will be facing?

    Thank you

  2. #2
    SitePoint Evangelist hexburner's Avatar
    Join Date
    Jan 2007
    Location
    Belgium
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your main concern will be upload_max_filesize
    Like suggested in another thread: upload files through e-mail.
    FOR SALE: 1 set of morals, never used, will sell cheap

  3. #3
    SitePoint Zealot
    Join Date
    Dec 2006
    Posts
    188
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    upload_max_filesize is a simple config change of php.ini

    Good to know that may be the only challenge with this. I have searched this forum for uploads via e-mail, but that seems rather obtuse for a web based application.

  4. #4
    SitePoint Evangelist hexburner's Avatar
    Join Date
    Jan 2007
    Location
    Belgium
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by TheMusician View Post
    upload_max_filesize is a simple config change of php.ini

    Good to know that may be the only challenge with this. I have searched this forum for uploads via e-mail, but that seems rather obtuse for a web based application.
    Read the entire documentation on php.net about this, you'll be amazed what can go wrong.


    It would be best if you could upload those files through your browser window, no argue there.
    I've got a 20Mbit/s broadband connection with 512Kb/s upload.
    If I upload a 20Mb file through HTTP, it'll be corrupt 2 out of 3 times.
    FTP no problem, but HTTP... Oh my.
    FOR SALE: 1 set of morals, never used, will sell cheap

  5. #5
    PHP/Rails Developer Czaries's Avatar
    Join Date
    May 2004
    Location
    Central USA
    Posts
    806
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Large files uploaded over the traditional HTTP POST method is really hard to get right. I'm not sure if this will help with your situation, but it may be possible to do this with something like JumpLoader.

  6. #6
    SitePoint Member
    Join Date
    Nov 2006
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by TheMusician View Post
    Hello all,

    I am designing an application that will upload 20-30mb files over a slow connection. Are there any inherent timeout issues that I will be facing?

    Thank you

    Large files over a slow connection...
    Can you split your files (5mb) and upload them?
    You can rebuild them at server.

    The email solution is not realible too, specially if it is done with a webmail :P

    If you solution allows you to put a local server, then it just to point your remote server to download it.

    MVC is complex: Web2.0 is simpler.
    Sybrain Framework
    http://www.sybrain.com

  7. #7
    SitePoint Enthusiast
    Join Date
    Jun 2007
    Location
    Frankfurt/Germany
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would suggest to use the FTP protocol. It contains certain abilities (like resuming) you will need.


Bookmarks

Posting Permissions

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