I think you might be interested in the Content-Disposition HTTP header: ns_set put [ad_conn outputheaders] Content-Disposition attachment
You can also optionally add a filename parameter as well. See: http://www.faqs.org/rfcs/rfc2183.html
for more info.
Lastly, I'm not sure if all browsers support this header.