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 <[EMAIL PROTECTED]>:
> 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@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
_______________________________________________
Zope maillist  -  Zope@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 )

Reply via email to