Click to See Complete Forum and Search --> : download files


reeta82
September 10th, 2003, 08:34 PM
i would like to display the files which is listed in my databse and create a link for it..when the user click on the link..he will immediately see the download dialog box instead of the file's content.Currently im only having the coding to pop-up the download dialog box


response.addHeadr"content-dispositon","attachment;filename-filename.ext"


plz help

Goodz13
September 13th, 2003, 05:23 PM
If the Files are on your web server (in the directory(s) that is accessible to the pages on your web site), you could just provide an href to them.

If these files aren't, you're going to need to provide some other method to transfer the files. The simplest way would be to pou them in a folder accessible to the web site and provide an href

[Please not that I'm not too web savy... so if I've misunderstood your question, I'm sorry]