Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Download a text file in IE5 w/out having it displ
Message
From
14/05/2001 08:57:12
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
10/05/2001 10:08:53
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00505757
Message ID:
00506769
Views:
16
>Hello everybody
>I've made a link to a text file in html format and when you click on it it displays the contents in the browser window instead of prompting me to download the file...
>I am running an Microsoft IIS5 and using ASP, JavaScript, VBscript
>Probably some of you have dealt with this before...
>also zipping the file is not an alternative for me. nor clicking the right mouse button and selecting "Save Target As"...
>:)
>Any feedback is strongly appreciated...
>Sincerely,
>David Aleksanyan


Hi,

You can do this from an ASP page, by specifying Response.ContentType and also setting a ContentDisposition header. Do a search through MSDN and the WEB for references to ContentType and ContentDisposition.

If you're still stuck, I'll dig around for an example.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform