downloading files from SQL Server
Posted on 2009-04-04
Using Coldfusion 8 on windows platform with SQL Server 2008 Express.
I have a table that's holds files converted to binary.
When it came time to download I used this:
<cfheader name="content-disposition" value="attachment; filename=#getFile.name#">
... Which did everything I needed it to do, invoked a save as dialog box or open file.
Worked perfectly... in Firefox.
I've read this has issues in IE and yep! sure does.
So how can I get my file(s) back??
I shifted to this for the sake of IE knowing I could check the browser and IF it's IE do this:
Which works perfectly... if you're saving to the server and not allowing the user to save to their drives, which is what I need.
To that I ask for help!