Unable to upload multiple files in a single action

Hi Team,

I am using Javascript Uploader control to upload files with preupload file feature in .Net mvc application. But when I upload multiple files, I did not find any way to upload all these files in a single action. Instead 'Save' action is invoked each time for each file separately. Is there any way to handle all these file upload requests in a single action?


var uploadObj = new ej.inputs.Uploader({

files: initialFiles,

autoUpload: true,

asyncSettings: {

saveUrl: "Home/Save",

removeUrl: "Home/Remove"

},

buttons: { browse: "Select files..." },

dropArea: dropElement,

uploading: onUpload,

removing: onFileRemove,

success: onUploadSuccess

});

uploadObj.appendTo('#fileupload');


Also, these files are uploaded parallelly(not sequentially) even if we use sequentialUpload = true. Is there a way to upload these files sequentially one by one?


1 Reply

UD UdhayaKumar Duraisamy Syncfusion Team June 13, 2022 03:58 PM UTC

Hi Sandeep,  

  

Greetings from Syncfusion Support.   

  

While uploading each file, each request will be sent to the server in our current uploader module. We have already considered to Provide support for batch upload to uploader component at our end and this support will be included in any one of our upcoming releases. We will implement the feature based on the customer request count and priority.  


You can track the status of the requested requirement from the below feedback link. 


Link: https://www.syncfusion.com/feedback/5328/provide-support-for-batch-upload-to-uploader-component    


To make it count, please cast your vote. We will prioritize the features based on the demands of each release If you have more specifications / suggestions on the request for the feature, you can add it to the portal as a comment.   

  

Regards,  

Udhaya Kumar D.


Loader.
Up arrow icon