Upload files in database
Archived from the Xataface Users forum.
Rrrr7 — Fri Dec 14, 2012 7:42 am
Hi,
This is my first post here, so I’m a newbie.
I’m trying to upload files into database using the BLOBL type, I have created the 3 columns as in the documentation, File - longblob, File_mimetype and File_filename in the table but when I go and try to actually save the record by clicking the Save button I get this error :
Invalid information entered.
- File mimetype is a required field.
- File filename is a required field.
Please correct these fields.
What am I doing wrong ?
Rrrr7 — Sat Dec 15, 2012 3:39 pm
Found it myself !
Fields _mimetype and _filename must be set as Null by default in the database.