Hi,
I am trying to use ns_returnfile to return a file and the browser (IE) is
poping up the dialog box asking whether to download/open. The file name that
it displays is the name of the script rather the name of the file I
specified in my script. How can I return the name of the file that the
browser should use to save the file being downloaded?
here's what I have in my script (named myget.adp):
<%
ns_returnfile 202 [ns_guesstype [ns_adp_dir]/tests/1.abc]
[ns_adp_dir]/tests/1.abc
%>
the browser pops up the dialog box asking whether to download/open from
location and the file name is set to myget.adp (rather than 1.abc).
Any help would be appreciated.
Ramin.