file/folder download

Hello,

Should the beforeSend and success events fire when downloading files or folders.  I'm attempting to provide users with a progress indicator but these events don't seem to be firing for this operation.

Thanks

Tony


1 Reply 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team April 19, 2022 01:43 PM UTC

Hi Tony,


Greetings from Syncfusion support.


In the File Manager, we have a beforeDownload event that will trigger before sending each download request. Check the below sample for reference.


https://stackblitz.com/edit/react-8eugzo?file=index.js


The beforeSend event will be triggered for read and upload requests, which are handled by using AJAX requests. But the download operation is performed by using a form submit. So for the download operation, success and failure events will not be triggered.


Please share with us your exact use case with File Manager so we can assist you promptly.


Regards,

Indhumathy L


Marked as answer
Loader.
Up arrow icon