ASP forceDownload - a small classic ASP script that forces a file to download

Home

This is a small script that forces files that can normally be opened in the browser window, to be downloaded.

The links below would normally open within your browser, but you will see the ‘download’ dialog box will appear instead when you click them.

Just provide a path to the file you want to download via a query string and let the ASP do the rest:

image
pdf
html

Download ASP forceDownload