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

Cannot write file using WebAssembly

Hi all,

I'm trying to follow your documentation on how to use file upload with WebAssembly, using this link:

https://blazor.syncfusion.com/documentation/file-upload/how-to/getting-started-with-blazor-webassembly

In there, there is an option to do it without server-side Api endpoint:

https://blazor.syncfusion.com/documentation/file-upload/how-to/getting-started-with-blazor-webassembly#without-server-side-api-endpoint

I follow that and I try to save a file and it is not Writing on the disk, I try to see if it reads the Directory and it doesn't

See my project 


Thanks for everything you do.

Sincerely,

Luis


Attachment: BlazorIssuesDemo_dd43f2b9.zip

1 Reply

UD UdhayaKumar Duraisamy Syncfusion Team December 19, 2022 06:04 AM UTC

You cannot save the file client-side in the WASM application, so you need to use the server-side endpoint to save the file in the WASM application.


Find the server-side endpoint documentation here: https://blazor.syncfusion.com/documentation/file-upload/file-source#save-action-configuration-in-server-side-blazor


Loader.
Up arrow icon