[Zope] Export/unload from query

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Tue, 13 Jul 1999 14:10:53 +1000


>>> Jenny Campbell wrote
> Does anyone know if there is any way that the results of a query can be
> exported or unloaded to a network directory instead of, or as well as,.
> being displayed on the browser?

sure - write an external method that just writes the results so far to
a file. This can write it to a drive that's accessible from the machine
that Zope's running on.

Or, set the content-type to a particular type (say, application/octet-stream)
that the user's browser will download to a file, rather than viewing inline.

Anthony