[Zope] How to display PDF files

Christopher J. Kucera ckucera@globalcrossing.com
Mon, 30 Oct 2000 10:33:14 -0600


Alan Johnston wrote:
> One (apparently simple) thing I cannot find a way to do is link to a PDF
> file.  I believe that everything ZServer serves up must come from the Zope
> Object Database (right? wrong?).  At any rate, how do you get ZServer to
> send a 'raw' PDF file to the browser so that the browser's Acrobat plug-in
> can display it?  I tried creating 'File' and 'Image' objects.  That's
> obviously not it.

Actually, "File" should be okay . . .  Just click on "Browse" and
select the PDF from your hard drive, and it will upload the PDF into
ZODB and spit it back out properly . . .

-CJ