[thelist] Forcing a file download
George Palframan
george at themidwestgroup.com
Mon Feb 25 10:27:00 CST 2002
hello all,
Can anyone tell me if it is possible to force a 'save as' dialogue box when
a file is called upon or the server decides to serve it up?
I am currently investigating the response.AddHeader method in ASP but this
does not seem to be working.
here's the code:
response.AddHeader "content-disposition","attachment; filename=labels.dat"
response.Redirect "labels/" & file_name
I am using IIS 4.0, will this have any imapct??
thanks,
George.
All reasonable precautions have been taken to ensure no viruses are present
in this e-mail. Midwest Technologies Limited cannot accept responsibility
for loss or damage arising from the use of this e-mail or attachments and
recommend that you subject these to your virus checking procedures prior to
use.
This e-mail (including attachments) is confidential. If you are not the
intended recipient you must not print, copy or distribute it. If you have
received this e-mail in error, please notify us immediately by replying to
this e-mail and delete this e-mail from your system.
Where the contents of this e-mail are the opinion of the writer only, they
are not endorsed by Midwest Technologies Limited unless expressly stated
otherwise.
More information about the thelist
mailing list