nicky2k
asked on
Quick CFContent Question on CFMX 7
The following code displays the relevant PDF file in a browser on a Windows OS, but not on LInux. Does anyone have a fix for Linux? Or some 'all round' method of doing this? Nice quick easy points.
<cffile action = "readbinary"
file = "#session.pdfpath##fileName#"
variable = "thisPDF">
<CFCONTENT file="#session.pdfpath##fileName#" deletefile="no" type="application/pdf">
Do you have AcrobateReader installed on that Linux client?
ASKER
Good question. I need to ask the guys who work onthat server as I don't manage it myself. That might just be the solution.
Server? No need for reader on server. The browser pc needs AcrobateReader. The CF server machine does send only the MIME string for the content. The content is displayed by the browser application.
ASKER
My PC does have Acrobat.
My too ;-)
So I understood you have two CF servers and one browser client. That is grand totla three PC machines, right?
So I understood you have two CF servers and one browser client. That is grand totla three PC machines, right?
ASKER
The code can be accessed form any PC, so forget the PC for now. What we have is a development server, that hosts the code on Windows and a Test server that hosts the code on Linux.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.