1

I have a code set up to download a file on my FTP, but when I click on the link it tries to take me to the url and not download the file. What am I missing? I've tried every version of the HTML code and nothing works.

<a href="/finaledit/murphy_drive.mp4" target="_blank"><span style="color: #ff0000;">Click here to download package</span></a>
Reeno
  • 5,720
  • 11
  • 37
  • 50

1 Answers1

1

Very simple, add the download attribute to it. Like this:

<a download href="/finaledit/murphy_drive.mp4" target="_blank"><span style="color: #ff0000;">Click here to download package</span></a>
Jeroen Bellemans
  • 2,049
  • 2
  • 25
  • 42