i want to store uploaded files in mongodb as GridFsFile. Im using the doctrine 2 odm. it works fine when i read a file from disk and store it. But what i would like to achieve is to avoid storing the uploaded files anywhere on file system.
Is it possible to store the binary string directly?