Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Large amount files upload with AJAX is failure in IE11

$
0
0

I have a problem : uploading files with ajax which code is below.

Uploading few files (20~30 files) has no problem , but 100 files has problem on IE11 withfreezing or F12 tools show "pending ..." indefinitely. (Chrome, safari works fine).

Do you have any information about this everyone ?

const files = event.dataTransfer.files;

for (var i = files.length - 1; i >= 0; i--) {
    const f = files[i];
    var form = new FormData();
    form.append('file', f);
    form.append('name', f.name);
    form.append('rip_id', $this.data('rip-id'));
    form.append('job_id', jobId);
    $.ajax({
        type: "POST",
        url: "file/upload",
        data: form,
        contentType: false,
        processData: false
    }).done(function{
        // some events.....
    });
}





Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>