[Zope] display uploaded file

sujitha mary suji102000 at yahoo.co.in
Mon Jun 9 02:32:33 EDT 2008


After changing the content type also it's still the same.Is there any other option,my file is a text file

Peter Bengtsson <peter at fry-it.com> wrote: 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 :
> 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


       
---------------------------------
 Meet people who discuss and share your passions.  Join them now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080609/87912f15/attachment.html


More information about the Zope mailing list