There was a column about storing binary data in a database a while ago.
Look for it, it does allmost exactly what you want.
Only one problem, the client browser knows about some filetimes, and will display it instead of offering it as a downloadable file.