[Zope] howto write download: Product.state --> client file

Chris Withers chrisw@nipltd.com
Thu, 09 Aug 2001 16:08:29 +0100


(keep it on the list please)

hans wrote:
> 
> Chris Withers wrote:
> 
> > hans wrote:
> > >
> > >   if REQUEST is not None:
> > >    return tmpFile
> >
> > return tmpFile.read() maybe?
> 
> what i get then is the content displayed in my browser.

You'll get that if you set the content type to text/plain

Try, binary/octect-stream or some such instead...

Chris