How do we get files data saved using Uploader.

How do we access the file data when using uploader component. It is making an api to save data. But how do we access it in frontend or it will be retrived from backend? 

 Can you get me an example on how to load multiple files and get files in backend or get file in frontend and pass it to backend.


3 Replies

YS Yohapuja Selvakumaran Syncfusion Team August 14, 2023 11:59 AM UTC

Hi Viji Palanisamy,


Thank you for reaching out us. It's important to note that you can retrieve the uploaded file data within the server-side save method. To gain a comprehensive understanding of this process, we encourage you to consult the documentation provided below.


Documentation:  https://ej2.syncfusion.com/react/documentation/uploader/async#server-side-configuration-for-save-action


This resource elaborates on the steps to effectively obtain and work with uploaded file data in the server-side save method. Please get back to us, if you require any further clarification, guidance, or encounter any challenges while following the documentation.


Regards,

Yohapuja S



VP Viji Palanisamy August 15, 2023 02:26 AM UTC

HI,
How to handle data from server.
1. open the selected file from server location in my application and send as new format to my backend using API call.



YS Yohapuja Selvakumaran Syncfusion Team August 16, 2023 09:52 AM UTC

Hi Viji Palanisamy,


To access the selected file on the server side, you can utilize our server-side configuration. In alignment with your needs, we've created a sample that demonstrates this process.


Client side sample: https://stackblitz.com/edit/react-hx7uhh-mdrtcx?file=index.js


Regards,

Yohapuja S


Attachment: SyncfusionCoreUploader_e931ca7b.zip

Loader.
Up arrow icon