Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Problems wit filesize

Help
2010-05-28
2013-05-30
  • Ingo Rennberg
    Ingo Rennberg
    2010-05-28

    Hello,
    I have problems with post files larger than 3,2 MB. I need to post files with 150 - 750 MB! The configuration in php.ini is correct! File uploads (tested with 200MB) without snoopy working great.

    Does Snoopy needs the filesize to post a file?

    If yes, how can I do this, please? (I tried "fopen", but i think there was a misconfiguration). Please help, I am trying about 4 days.

    $snoopy = new Snoopy();
    $snoopy->set_submit_multipart();
    $postVars = array();
    $postVars['upload_action'] = 'page2';
    $postFiles = array();
    $postFiles['upfile_0'] = dirname(__FILE__) . '/test.flv';
    $snoopy->submit('http://127.0.0.1/upload.php', $postVars, $postFiles);
    
     
  • tobo
    tobo
    2010-06-16

    Hi omnicron69,

    if you want help we need to see the form and maybe some more code.

    With the current version I created a upload script for myself and file upload of 50 MB works fine.

    With some servers I had some trouble as the boundary was not accepted the way it is currently set. See https://sourceforge.net/projects/snoopy/forums/forum/6044/topic/3742347 for more information.

    Cheers,
    tobo