download link for non same-origin in asp.net core with progressBar

Viewed 24

The "download" tag only works for same-origin urls. How can we use this feature (exactly like this) for something else, that is, for non same-origin urls in asp.net core.

for example my domain is https://abcd.com and i have the link (non same-origin) below:

<a href="https://externalSite.com/sample.mp3">download</a>

notable: I found some code that does the download somehow but doesn't show the download process to the user like the "download tag" and that's not what I want.

0 Answers
Related