Try to search your question here, if you can't find : Ask Any Question Now ?

BlueImp FileUpload not uploading files after certain size

HomeCategory: stackoverflowBlueImp FileUpload not uploading files after certain size
Avatarcraig asked 1 month ago

I have implemented blueimps fileupload and it works great for any file up to about 30mb. I have set the maxRequestedLength to over 100mb plus IIS 7 is set to allow file uploads of larger than this.

When uploading a file that is larger than 30mb it just fires the fail option without ever having hit the code behind.

$('#fu-my-simple-upload').fileupload({
            url: '/SubmissionPortal/UploadFile',
            dataType: 'json',
            maxFileSize: '@ViewBag.MaxFileSize' ,
            add: function (e, data) {
                jqXHRData = data
            },
            done: function (event, data) {
                alert("done");
                if (data.result.isUploaded) {
                    $("#tbx-file-path").val("No file chosen...");
                    $('input[type=submit]').click();
                }
                else {
                    alert(data.result.message);
                }                    
            },
            fail: function (event, data) {                
                if (data.files[0].error) {
                    alert(data.files[0].error);
                }
            },
            progress: function (e, data) {
                var progress = parseInt(data.loaded / data.total * 100, 10);
                $('#progress .progress-bar').css('width', progress + '%');
            }
        });

any ideas of what I am missing or doing wrong? I’ve searched for a few hours now and i can’t find anything that explains why it stops working at such an arbitrary cut off.

1 Answers
Best Answer
AvatarMatthias answered 1 month ago
Your Answer

4 + 12 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com