macromedia.coldfusion.database_access
[Top] [All Lists]

Downloading files from IMAGE datatype on SQL Server, old coldfusion runt

Subject: Downloading files from IMAGE datatype on SQL Server, old coldfusion runtime
From: "benmay123" <webforumsuser@xxxxxxxxxxxxxx>
Date: Sat, 23 Feb 2008 14:29:59 +0000 (UTC)
Newsgroups: macromedia.coldfusion.database_access

Ok, so I have an SQL Server 2000 database, and a table which has PDF files 
stored in it in IMAGE fields. I need to be able to put a link on a CFM page 
which allows a user to download the contents of the image field - those PDF 
files. I've attempted a similar solution to the one here:

 
http://awads.net/wp/2006/01/25/savingdownloading-files-tofrom-oracle-using-coldf
usion/

 But I get an error message saying that variable is an invalid attribute. I'm 
not certain of the exact version of ColdFusion on the server, but obviously 
it's something prior to 7 since I guess 6 and earlier only support 
DELETEFILE,FILE,RESET and TYPE.

 But I still need a way to download these files! A single example would be very 
helpful... THanks!


<Prev in Thread] Current Thread [Next in Thread>