"Keep Both" and "Replace" do not work when uploading file with existing name

Hallo, I am struggling with this problem: in my Blazor WebAssembly app, whenever I try to upload a file via FileManager, but there is already a file with the same name, I get the proper reply from the controller (status code 400), but if I choose "Keep both" or "Replace" from the upload dialog, nothing happens - dialog is closed and upload error is shown; but there are no errors or exceptions whatsoever, and no request is sent from the client to the controller. Issue seems to be within Syncfusion's File Manager component, but no error means it's impossible to understand why it is triggered; while the underlying filesystem is different, controller code is cut and pasted from samples that work fine, and network traffic between client and server looks identical. File uploading, without naming conflicts, works.

Any ideas?


1 Reply

PM Prasanth Madhaiyan Syncfusion Team January 31, 2025 11:06 AM UTC

Hi Gian,


Greetings from Syncfusion support.


Based on the shared details, we have prepared a Blazor WASM FileManager sample with a Physical provider and tested the upload functionality for the Keep Both and Replace actions by uploading both multiple and single files. However, the upload functioned properly without any issues on our end.

For your reference, we have attached the sample and provider.

Sample and Provider: Attached as a ZIP file.

Please check the attached sample, and if the issue still persists, kindly replicate the issue in the attached sample or share a replicated sample along with video footage for better understanding. Additionally, provide details about the service provider you are using on your end.

To provide you with a prompt solution, please get back to us with the requested details.

Regards,

Prasanth Madhaiyan.


Attachment: SampleAndProvider_6bc7a109.zip

Loader.
Up arrow icon