[Zope] display uploaded file
Peter Bengtsson
peter at fry-it.com
Fri Jun 6 05:38:11 EDT 2008
Change the uploaded file's content_type to text/plain and the browser
will try to display it.
This is something you can do to images too but you'll get a very
looong page of "junk".
2008/6/6 sujitha mary <suji102000 at yahoo.co.in>:
> hi all,
> I need to display the contents of an uploaded file when i click a link.But
> when i click the link instead of displaying the contents i'm getting a
> message to save this BIN file.wht changes should i make to display it in my
> plone interface?Plz help.
>
> ________________________________
> Bollywood, fun, friendship, sports and more. You name it, we have it.
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Zope
mailing list