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

File Upload: Overwrite file

Hi,

I'm using Blazor Webassembly with .Net6 (6.0.9) and Syncfusion 20.3.49.

I use the File Upload component with a remote URL and AllowMultipleFile=false.

I load a first file and it works fine. Then, I load a second file (to overwrite the first one) and the loading is “blocked”.

Why doesn't overwrite work? Is this feature available and how to implement it?

I attached an example project with a video.

Thanks for your help.

Best regards.

François


Attachment: Uploader_file_overwrite_23dd3000.zip

2 Replies 1 reply marked as answer

UD UdhayaKumar Duraisamy Syncfusion Team October 12, 2022 12:15 PM

Hi François,


We have validated the shared sample on our end. In your scenario, you are trying to upload a single file at a time. So, We suggest you remove the SequentialUpload property or set SequentialUpload as false to resolve the reported issue on your end. When we upload multiple files (AllowMultiple = true) at the same time and If the SequentialUpload property is enabled, the file upload component performs the upload one after the other.


Documentation : https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Inputs.SfUploader.html#Syncfusion_Blazor_Inputs_SfUploader_SequentialUpload


Regards,

Udhaya Kumar D



Marked as answer

FR François October 18, 2022 08:43 AM

I set  SequentialUpload as false and it works as expected.

Thanks Udhaya Kumar.


Loader.
Live Chat Icon For mobile
Up arrow icon