I need to save an uploaded file to the database preferrably in the table core_file_storage as a blob and retrieve it later. I want this connected to a customer. Currently the files are being saved in the file system and this needs to be discontinued.
Solved: I used the model mage/core/file/Model/storage/database.php methods to write into the table core_file_storage