This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Platform » How to save a BinaryFile

How to save a BinaryFile

How to save a BinaryFile

Friday 19 February 2016 6:55:08 pm - 2 replies

I have a form defined in symfony2. When submit the form I would like to save for the file field, the value into a BinaryFile\Value for a content type defined.

I have something like this

$builder->setMethod('post') ->add('cv', 'file')->add('submit', 'submit');

How to do it?

What I have defined here seems not sufficient for me

Monday 22 February 2016 9:34:10 am

Your problem seems to be related to Symfony no to eZ. Depending on what you want to do you can easily upload a file : . After  that you can do what you want with your csv file.
Hope it helps. 

Monday 22 February 2016 12:52:06 pm

I've managed to figure it out. Thx


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from