Before you call ns_returnfile, add a content-disposition header to your output headers like this:
ns_set update [ns_conn headers] content-disposition \
"attachment; filename=1.abc"
Be aware that not all browsers honor the content-disposition header, or
interpret it correctly, so make sure that it works for your target visitor
community.
Pete.
On Thu, 24 Jan 2002, Ramin Naimi wrote:
> How can I return the name of the file that the
> browser should use to save the file being downloaded?
