Skip to main content
February 13, 2008
Question

Insert a blob

  • February 13, 2008
  • 1 reply
  • 289 views
I am trying to insert the file identified in the file field into MySql. It's not apparent what field I reference in the Insert Behavior. The file field name itself is just the name of the file being inserted. I need the file itself bound a field in the insert behavior. Does anyone have experience with this? Thanks in advance.

David
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
February 13, 2008
davidbarrackphoto wrote:
> I am trying to insert the file identified in the file field into MySql. It's
> not apparent what field I reference in the Insert Behavior. The file field
> name itself is just the name of the file being inserted. I need the file
> itself bound a field in the insert behavior. Does anyone have experience with
> this? Thanks in advance.
>
> David

I don't think its that straight forward, you need a file upload
component that can store the uploaded file as a blob in your database.
What your doing right now is storing the filename in your database.

Steve