The issue was with how the blob was stored you have to use file_get_contents() to get the uploaded file as a BLOB when storing. The download code was actually all working properly once we got the upload to save the file as a blob.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.