This is what I added for PDFs in HTTPD CONFIG type pdf 0 application/pdf 8bit
2009/4/10 Thomas Kern <tlk_sysp...@yahoo.com>: > The corrupt file error may be something to do with the plug-in for your > browser. Try saving the file and then opening it in the full Adobe Acrobat > Reader. We have this problem with PDFs that I generate in CMS and with > commercially generated PDFs. ALL are fine when saved and opened in the full > Acrobat. We get the same corrupt file when we transfer via email to Outlook. > > /Tom Kern > /301-903-2211 > > > On Fri, 10 Apr 2009 09:36:54 -0700, Schuh, Richard <rsc...@visa.com> wrote: > >>When I tried that, I got a nasty message about a corrupt file :-( >> >>Regards, >>Richard Schuh >> >> >> >>> -----Original Message----- >>> From: The IBM z/VM Operating System >>> [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Altmark >>> Sent: Friday, April 10, 2009 9:18 AM >>> To: IBMVM@LISTSERV.UARK.EDU >>> Subject: Re: PDFs >>> >>> On Friday, 04/10/2009 at 12:12 EDT, "Schuh, Richard" <rsc...@visa.com> >>> wrote: >>> > What does it take to get a PDF from a CMS file to a >>> successful browser >>> display? >>> > We are, for now, using WEBSHARE. We get a message telling >>> us that the >>> file does >>> > not start with "%PDF-"; however, all files I have tried do >>> begin with >>> those >>> > ASCII characters. We have tried files created by TXT2PDF and ones >>> created by >>> > other PDF creators. All display properly when copied to a PC and >>> > opened directly with Adobe Reader. >>> > >>> > I have tried various settings, including removing the entry >>> for pdf, >>> > in >>> the web >>> > server's CONFIG file, all to no avail. >>> > >>> > Note: MS Office files, DOC, XLS and PPT, all work and the >>> PC's default >>> for the >>> > PDF extension is Acrobat Reader 8. >>> >>> I would guess that something needs to tell WEBSHARE that PDF >>> files are binary (it appears to be correctly setting the MIME >>> type to application/pdf). >>> >>> Alan Altmark >>> z/VM Development >>> IBM Endicott >>> >>======================================================================== > -- Kris Buelens, IBM Belgium, VM customer support