I have a document that is accessible from a url such as
http://www.myCompany.com/Documents/cb289e02-ed2b-4daa-8
. I am using
<a href="http://www.myCompany.com/Documents/cb289e02-ed2b-4daa-8">TitleCodeReport</a>
In an email that is being sent to the users of this report.
I want to make a link so that when the user clicks it, it will save with a friendlier name like TitleCodeReport.pdf
instead of cb289e02-ed2b-4daa-8
. Any idea how I would do that?
You can do this in HTML with the HTML5 download
attribute.
<a href="http://foo.com/files/adlafjlxjewfasd89asd8f.pdf" download="foo.pdf">Download It</a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With