DiscountASP.NET Forums                  

Go Back   DiscountASP.NET Forums > Site Programming, Development and Design > Classic ASP

Notices

Classic ASP "Classic" is a great euphemism for "old." But just because it's old doesn't mean it isn't still useful.

Closed Thread
 
Thread Tools Search this Thread
Old 03-14-2007, 05:35 AM   #1
carslegendc
 
Join Date: Mar 2006
Posts: 5
Force Download.

Does Someone have an idea about download know Mime objects ?
For an example :
if I have mp3 and i want people to be able to dowload that file without using the famous right-click 'save target as...'
if this file is bigger than 4MB, IIS won't allow people to download the file...

Does someone have an idea about doing so ?

Karim.
carslegendc is offline  
Old 03-14-2007, 07:49 AM   #2
joelnet
 
Join Date: Apr 2005
Posts: 751
You can put it in a zip, or you can create a download.aspx page. Inside the download.aspx page, you'd change the content-type to unknown and read and output the bytes of the file manually.



Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
joelnet is offline  
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:16 AM.


vBulletin ©Jelsoft Enterprises Ltd.