I have a PDF I would like to be downloadable. I've used the HTML5 <button> tag as follows to create it as follows.

<a href="http://www.jonvandesigns.com/PDF/VanDenEeden-Jon-Resume.PDF" target="_self">
<button id="resume-download">PDF View/Download</button>
</a>

The coding worked beautifully on my local network, but once it was uploaded to my server and I accessed it through my browser I received a 404 Error. I double checked to make sure the file was in the correct directory location aswell. Everything seems to check out as far as I know. Any ideas?

Recommended Answers

Looks like you have a case-sensitive issue.

Try... (.pdf exentension in lower case)

http://www.jonvandesigns.com/PDF/VanDenEeden-Jon-Resume.pdf

Jump to Post

All 2 Replies

use small caps on document & in file name

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.