Sorry if this is the wrong place to post this. I’ve seen this question posted before, but nothing seems to work for me.
I have a link on a website that is supposed to force a download of a PDF. It has been working for years. Now all of a sudden it won’t. Well, it downloads about 29k of a 454k file. So it basically leaves the file useless.
The only thing that is different is that I uploaded the new version of the PDF for this year. The PDF opens fine if I FTP in and download it. Just not when downloaded off the site.
Can someone check out the site and see if they get the same results?
I’ve tried using the HTML5 tag “download=filename.pdf” and I’ve used htaccess to force any pdf file to download. I’ve been using both methods for years and they’ve been fine.
Why not zip the file, upload, place a link to the Zip. See what happens. If that also results in a corrupt file then you know the file is corrupated somehow. If not, I have no idea what the explanation is but at least you could us the zipped approach to auto-downloading.