asdwinner
asdwinner

Reputation: 31

MongoDb and Symfony2.4 file is not stored in Gridfs

I have implemented the file upload functionality with reference to this link http://www.slideshare.net/mongodb/mongo-db-bangalore-2012-15070802

But the file is not stored into the Gridfs.

I had done some research for the same and also with reference to this blog post http://php-and-symfony.matthiasnoback.nl/2012/10/uploading-files-to-mongodb-gridfs-2/

But again, unfortunately, I stuck with this issue since last from 15 days

please help.

Upvotes: 3

Views: 468

Answers (1)

Sean Quinn
Sean Quinn

Reputation: 2161

Please take a look at KnpLabs/Gaufrette and the related KnpLabs/KnpGaufretteBundle

The Gaufrette bundle provides a level of abstraction around file systems and, it helped me get file-oriented operations up and running quickly. I found it very useful, and in fact the Symfony CMS package leverages this bundle. It may help you out as well.

Upvotes: 1

Related Questions