How to read the list of files queued for dropzone and upload them in order

I upload multiple images using (drag and drop) dropzone.js

Here I saved autoProcessQueueup falsefor custom loading.

Now I am looking for how to get the queue list that I have selected for download. The reason is that I need to upload files one by one in order to maintain order. I can save the option parallelUploadsuntil the 1files are downloaded one by one, but the problem here is that the second file does not wait for the previous file to respond.

So, while during the process on the download server the second one is processed, and if it is smaller than the first, it is first loaded before the previous file.

Any answer for this please ..?

+4
source share
1 answer

dropzonejs SlickGrid, , , . , , uploadMultiple. , , paralellUploads. , , . , . , , , . .

(

myDropzone.on("successmultiple", function(file,response) { 
  save_responses(response); 
});

, , .

myDropzone.on("completemultiple", function() {
  if (this.getQueuedFiles().length == 0 && 
      this.getUploadingFiles().length == 0) {
    process_responses(this.getAcceptedFiles());
  }
});

, , event.dataTransfer.files

+5