Button to download a file

I’m creating a button in my development for my subscriber to download a file like an Excel document; I store my file in “app/files/file.xlsx.” When I click the button, it shows “404 Not Found”. It works if I right-click on the button to open the link in a new tab, and the file was downloaded in cloudflare.com

Code:

<Button fullWidth external download url="/app/files/file.xlsx">

I appreciate any help you can provide :blush: .

Hi @Joe5

Add the full path of the file instead of “app/files/file.xlsx.”

It should be working now, but I can’t test it now because my windows was down. I need to install the project file again later. Thanks for your help!