fredkairu / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

chunk_size configuration #140

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i had the problem that my PHP backend has a max post size < of 1MB 
then i have modified the parametter in the file upload-from-computer.php but 
this would be better thas this parametter is in config file   :

                $(function() {
                    $("#uploader").pluploadQueue({
                        runtimes : 'gears,flash,silverlight,browserplus,html5',
                        url : 'process-upload.php',
                        max_file_size : '<?php echo MAX_FILESIZE; ?>mb',
                        chunk_size : '32kb',
                        multipart : true,
                        filters : [
                            {title : "Allowed files", extensions : "<?php echo $options_values['allowed_file_types']; ?>"}
                        ],
                        flash_swf_url : 'includes/plupload/js/plupload.flash.swf',
                        silverlight_xap_url : 'includes/plupload/js/plupload.silverlight.xap'
                        /*
                        ,init : {
                            QueueChanged: function(up) {
                                var uploader = $('#uploader').pluploadQueue();
                                uploader.start();
                            }
                        }
                        */
                    });

Original issue reported on code.google.com by liatech4...@gmail.com on 25 Jul 2012 at 7:43

GoogleCodeExporter commented 9 years ago
Hello! Thanks for your report.
That is indeed a great suggestion, and I'm including this in future releases.
Would you like me to add your e-mail to the source code to indicate that this 
solution is yours?

Original comment by i...@subwaydesign.com.ar on 25 Jul 2012 at 7:49