[Zope] Read a file
john blair
mailtome200420032002 at yahoo.com
Mon Mar 7 04:23:31 EST 2005
<span tal:replace="structure
python:context.txtfileid"/>
Along with the file contents it also shows lots of
garbage becaue the file is a doc file.Also the
formatting gets lost :(
--- Puttaraju <praju at zeomega.com> wrote:
> Try this
>
> <span tal:replace="structure
> python:context.txtfileid"/>
>
> john blair wrote:
>
> >Hi
> >I have files stored in zope.I want before user
> >download that file a preview of the file to be
> >shown.So what I was thinking of is read the
> contents
> >of the file and store it in another file with
> >content-tye text/html.The problem is I dont know
> how
> >to read the file stored in zodb.Any help?
> >
> >
> >
> >
> >__________________________________
> >Celebrate Yahoo!'s 10th Birthday!
> >Yahoo! Netrospective: 100 Moments of the Web
> >http://birthday.yahoo.com/netrospective/
> >_______________________________________________
> >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 )
> >
> >
>
>
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
More information about the Zope
mailing list