I am trying to download a CSV file which resides in my project assets folder by clicking an anchor tag. But when i do this i got an error message like this “”File wasn’t available on site”. Tried many solutions, but none of them work.
My snippets are below. Any help is much appreciated.
<a href="/assets/UserListSample.csv" download="UserListSample.csv">
Click here
</a>