What is the proper way of uploading a file without SQLFORM into the following database table?
db.define_table('files',
Field('original_filename', 'string'),
Field('file', 'upload', uploadfield='file_data'),
Field('file_data', 'blob'))
A simple insert won't help here so I'm sure there's some kind of trick to
it which I'm unable to figure out on my own.
Any help is highly appreciated!

