Alan Johnston writes:
 > 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?).
You may use the products "LocalFS" or "ExternalFile" to access
files inside the file system from Zope.

 > 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.
The "file" should be it.

Maybe, you must set the property "content_type" correctly
(when Zope guessed wrong based on the filename extension).



Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to