Quoting [EMAIL PROTECTED]:
Hello,
I want to generate a data file which should be downloaded by clients.
Rather than generate this file and put it in a web dir and tell
clients to download it, is there any way to generate the content
dynamicly and put it to cients? I mean I don't want to generate the
temporary file. Thanks.
This reads to me like you just want to cause the browser to prompt the
user to save the file to disk instead of render the content you are
generating in which case you should read about the Content-Disposition
header:
http://www.ietf.org/rfc/rfc1806.txt
The quick summary of which is to add a header to your response that
looks like this:
Content-Disposition: attachment; filename=filename.extention
Adam