Force Download.

Discussion in 'Classic ASP' started by carslegendc, Mar 14, 2007.

Thread Status:
Not open for further replies.
  1. 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 ?

  2. 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
Thread Status:
Not open for further replies.

Share This Page