ASP +Load Image File in SQL Server Database
Posted on 2001-08-26
I am trying to develop an app where we sell information that can be downloaded over the web, so it has to be secure but it also has to allow for disconnects. i was thinking of loading the files into an image field in sql
server but i'm not sure how to tie it all together. is it possible to download an image file say from an asp page that hits the sqlserver database? would you first have to write this file from the database to the
hard disk and then start the download? For instance if i had a compressed (winzip) file stored in an image field in sql could i access it with an asp page and have it downloaded directly to the user. So if the web user points his browser to the asp page he should then be promted to save the file. any help(especially sample code) would be much appreciated.