mardi 21 novembre 2017

Download Link to different server - File blocked

I have a website, built in React, which, on one page, links to a file. That file lies on a different server (which is also owned by me!). When the user clicks on that link to download it, the file is blocked and not downloaded. When the user does a right-click and opens the file in a new tab, the file is displayed in that tab.

How can I solve this and enable the user to download the file directly from the second server by clicking on the link on the website?




Aucun commentaire:

Enregistrer un commentaire