Elfinder: large file upload issue

Created on 7 May 2013  Β·  10Comments  Β·  Source: Studio-42/elFinder

Hello team,

I am trying to upload files of large size 50 mb to upload through el finder but it gives me error unable to upload file . I have set my file upload limit and post max size to 1024.

Please help as it really needed.

Most helpful comment

i have opened the limit in my iis to max of 4,7 GB works fine

All 10 comments

Try following settings in your php.ini

upload_max_filesize = 4G
post_max_size = 4.5G
open_basedir -> delete if exists
max_input_time = 600 (10 Minutes time for upload,extract or archive)
memory_limit = 512M

i have tried it but it does not work fine at the end it gives unable to upload file error.

it work fine up to 10 Mb. I am using elFinderVolumeMySQL.class.php for storage in database. is I have to make any changes in code?

Thanks

Which Webserver you use?

I need a web.config modification for my IIS called "RequestFiltering", who have restricted.

    <security>
        <requestFiltering allowDoubleEscaping="true">
            <requestLimits maxAllowedContentLength="4294967295" />
            <fileExtensions>
            </fileExtensions>
        </requestFiltering>
    </security>

4294967295 is maximum allowed number and as result, it restricts around 4GB now.

Further you can check the connector.php and if option uploadMaxSize not exists you can set it:

        'uploadMaxSize' => '4G'

Hi ,

I am using cpanel hosting and my content length is 18651100215699 .
where to set 18651100215699 my connector.php is

<?php
$opts = array(
    // 'debug' => true,
    'roots' => array(
    array(
            'driver' => 'MySQL',
            'path' => 1,
            // 'treeDeep' => 2,
            'user' => 'username',
            'pass' => 'pwd',
            'db' => 'dbname',
            'user_id' => 1,
            'files_table' => 'elfinder_file',
            'accessControl' => 'access',
            'separator' => ':',
            'copyTo' => false,
            // 'URL'    => 'url',
            'tmbPath' => '../files/.dbtmb/',
            'tmbURL' => dirname($_SERVER['PHP_SELF']) . '/../files/.dbtmb/',
            'projectid'=>$projectId,
            'uId'=>$uId,
            // 'attributes' => array(
            //     array(),
            //     array(
            //         'pattern' => '/\.jpg$/',
            //         'read' => false,
            //         'write' => false,
            //         'locked' => true,
            //         'hidden' => true
            //     )
            // )

        ) 


    )
);

Thanks

Any way to upload large files using elfinder as increase all the necessary setting in php to upload large files but nothing work .

Thanks

Nope. You have to do those changes yourself in php.ini

I have done changes in php.ini file.
set 512MB as upload_max_filesize
I have confirmed it by phpinfo() and echo ini_get('upload_max_filesize').

still I can not upload more then 15MB

NAVER - http://www.naver.com/

[email protected] λ‹˜κ»˜ 보내신 메일


λ°›λŠ” μ‚¬λžŒμ΄ νšŒμ›λ‹˜μ˜ 메일을 μˆ˜μ‹ μ°¨λ‹¨ ν•˜μ˜€μŠ΅λ‹ˆλ‹€.


i have opened the limit in my iis to max of 4,7 GB works fine

Please check post_max_size of php.ini too.
And, elFinder 2.1 support chunked file uploding. elFinder 2.1+ doesn't have restrictions of php.ini.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shiyee picture shiyee  Β·  3Comments

camgullo picture camgullo  Β·  3Comments

kagagnon picture kagagnon  Β·  3Comments

aktolu picture aktolu  Β·  3Comments

ashickurnoor picture ashickurnoor  Β·  4Comments