I've created a small web server and was wondering if the following is
possible...
I give the client some links he/she can choose from.
Some of the links are 'text' files, others are bitmaps, waves, html pages etc.
I want the client to force a download instead of the client trying to'load' the
document.
Eg. If the link is a html file, I want a browser to actually download and save
the file instead of having the browser show it's contents...
I've got a feeling the ContentType has something to do with this.
TIA,
Rory
Well, sort of yes....
If you set the Response.ContentType to 'application/unknown' it will definatly
download the file in question.
Another problem is that it will now try to download the file as project1.dll...
I'm still wotking on that though... not sure what to do there...
Cheers,
Rory
"Michael Harings" <mhar...@mchsi.com> wrote in message
news:3e670837$2...@newsgroups.borland.com...
> Hi Rory, I'm looking to do something similar. Have you found out anything?
>
> Thanks!
> Michael
>