any one getting errors downloading pdf files...

rockster

Well-Known Member
Apr 19, 2003
63
1
156
crazy.. but we cannot download pdf files on cpanel server.. works fine on all but the cpanel..

client has pdf files for download, when one tries to open or download they receive File Download Error

"File name: Discrepency_form.pdf"

"file type: Adobe Acrobat Control for ActiveX"

"this type of file could harm your computer..."

UI thought it was an ie error. but when you select open or save, another window opens


"the requested site is either unavailable or cannot be found"


yet, when placed as a DIRECT LINK in a page, it opens in ie???


......................

thanks

rock
 

rockster

Well-Known Member
Apr 19, 2003
63
1
156
yes////

is there an answer or a reason for the question as far as pdf ??


we CAN download pdf if the link is IN the page :

<a href="name.pdf">

But NOT if the entire link is placed in the page or you link DIRECTLY to the pdf file///

<a href="http://name.com/name.pdf">

thanks

rock

cPanel.net Support Ticket Number:
 
Last edited:

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
Does anybody know the answer to this? One of my clients is having the same problem.

cPanel.net Support Ticket Number:
 

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
I have another client who is having this same problem again. Does anyone know how to fix it???
 
I'm not aware of a server-side setting to change this. Could you elaborate on the issue? What do you mean exactly by download links with the full URL path try to render in the browser. Is it that a preview will load when it shouldn't?

same issue as rockster posted a while back in this ticket

we CAN download any pdf files if the link is local ie:

Code:
<a href="document.pdf">
But NOT if the link contains the entire url:

Code:
<a href="https://www.domain.com/document.pdf">
its as if the mime type is ignored thru NginX if the domain is in the url

turn off NginX and the download works thru apache without any issues