We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Uploader. Selecting multiple files consecutively only uploads last file dropped or selected.

Thread ID:





147065 Aug 30,2019 01:55 PM UTC Apr 9,2021 01:29 AM UTC ASP.NET MVC - EJ 2 8
Tags: Uploader
John Stemper
Asked On August 30, 2019 02:57 PM UTC

When selecting multiple files consecutively with the uploader control, each placed on the control individually, the files are shown in the box but only the last file dropped is uploaded to the server.

I am uploading the files as part of the form post back.


 function onSelect(e) {
            this.element.files = e.event.dataTransfer.files;

Berly Christopher [Syncfusion]
Replied On September 2, 2019 12:37 PM UTC

Hi John, 
Greetings from Syncfusion support. 
We can get the file name in the Synchronous upload (Inside the form) while choosing multiple files at the same time only. We can get the last selected file if we select multiple files one by one. This issue is known issue in the HTML 5 File Upload component.  
So, we are currently implementing the below mentioned feature in the Uploader component. Once it will be implemented the reported issue will be fixed and this support will be available in the Volume 3 release expected in the month of October 2019. You can track the status of this feature from the below feedback link.   
Berly B.C 

Juan Jiminez
Replied On November 27, 2020 10:09 PM UTC

Hi SF,

Sorry for stepping in this one but it has been a year since the fix request was created and I'm experiencing this issue with the latest release.

Any updates on when this will be fixed or is this discarded by now?

The issue is selecting the files one by one on syncronous upload as opposed to selected all at the same time. When you browse each file separately, only the last file is posted.

Thanks in advance.

Prince Oliver [Syncfusion]
Replied On November 30, 2020 05:27 PM UTC

Hi John, 

Thank you for you update. 

This feature is available since the version v17.3.26. Kindly refer to the following release notes section:  

We suspect that you might have used the HttpPostedFileBase to get the files in the form post instead of using IList<HttpPostedFileBase> in your end.  

        public ActionResult Index(IList<HttpPostedFileBase> UploadFiles

            return View(); 

Kindly check the above suggestion and get back to us, if you still face any issue. 


Juan Jiminez
Replied On December 1, 2020 03:10 PM UTC

Hi Prince,

Thanks fo the follow up, the issue is still present if you use the image preview feature, I've created a new ticket for this other issue https://www.syncfusion.com/forums/160218/uploader-selecting-multiple-files-consecutively-only-uploads-last-file-when-using-preview

Sevvandhi Nagulan [Syncfusion]
Replied On December 2, 2020 01:11 PM UTC

Hi Juan, 

Thanks for the update. Please let us know if you need further assistance. 

Sevvandhi N 

Cedric Baynard
Replied On April 6, 2021 04:30 PM UTC

Can you provide and example of how to use the clearAll() method to resolve this issue?

Joseph Christ Nithin Issack [Syncfusion]
Replied On April 7, 2021 01:28 PM UTC

   Hello Cedric, 

     Greetings from Syncfusion support, 

     We have checked your query, It would be helpful if you mention the issue you are facing in detail so that we would be able to provide the sample more precisely. 

Joseph Christ Nithin I. 

Cedric Baynard
Replied On April 9, 2021 01:29 AM UTC

Thank you for your reply.   We are having the issue where only the last file is returned when selecting multiple files with the ejs-loader control. This thread referenced a fix by Syncfusion that talked about performing a "Clear All" instead of a remove?   I was seeking clarification on what if any resolution for this problem of passing only the last file back.   Is there any way of preventing the ejs-control browse button from being clicked more than once?   I know that your control captures multiple "files" from browse on the inital form instance and works properly in sending all files when you only browse 1x to select the files.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon