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. (Last updated on: June 24, 2019).
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:

Created:

Updated:

Platform:

Replies:

147065 Aug 30,2019 01:55 PM UTC Dec 2,2020 01:11 PM UTC ASP.NET MVC - EJ 2 5
loading
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.

    @Html.EJS().Uploader("UploadFiles").Multiple(true).AutoUpload(false).Selected("onSelect").Render()

Script:
 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.   
 
  
Regards,  
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.  

        [HttpPost] 
        public ActionResult Index(IList<HttpPostedFileBase> UploadFiles
       

            return View(); 
       
  

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

Regards, 
Prince 


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. 


Regards, 
Sevvandhi N 


CONFIRMATION

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