[Opensource] BLOB upload

Michael Rimov rimovm at centercomp.com
Wed Oct 30 16:26:00 PST 2002


At 02:38 PM 10/30/2002 +0800, you wrote:
>My Problem is, that I want to upload images into a database.
>The DBMaint does not provide fileupload.
>A field, declared as binary in the DBObject, which is mapped to a BLOB in 
>the Database, is rendered as an Textinput. Why?
>Is their anybody working on it already? If not, I will try my best. Any 
>suggestions welcome.


There is an upload controller in the ext.controller package, as well as a 
quick upload demo thanks to Jan Moons available on the Expresso docs page 
that should get you started.  If you need auto-detection of the file type, 
there's a new feature in the MimeTypes table that allows auto-detection a 
la JAF, but it is much more thorough than default JAF implementation.

HTH!
                                                 -Mike








More information about the Opensource mailing list