[hunchentoot-devel] Publishing stream data?
Nicolas Neuss
neuss at math.uni-karlsruhe.de
Fri Sep 28 16:30:01 UTC 2007
Hello,
I want to return some data in CSV format (or also PDF format in another
application). At the moment I am using something like
(let ((file "output.csv"))
(with-open-file (stream file :direction :output :if-exists :supersede)
(csv-output stream ...))
(handle-static-file file)
(delete-file file))
However, this is clearly not good in a multiprocessing situation, and I
would like to get rid of the intermediate file. Is it possible to publish
the stream output directly?
Thank you very much,
Nicolas
More information about the Tbnl-devel
mailing list