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? -- Jenny Campbell User Support - Applications Eastern Equities Limited Ph: 06-876 7943 Fax: 06-876 8811 ---------------------------------
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
At 3:39 pm +1200 13/7/99, 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?
-- Jenny Campbell
I think you'll need an external method for that, as far as I'm aware, there is no way for dtml to write to a directory 'on its own'. If you check out the example of File Upload that Phil Harris posted on Friday, you'll find an external method that certainly works. You will need to modify it though. hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
participants (3)
-
Anthony Baxter -
Jenny Campbell -
Tony McDonald