Open
Description
Gustavo de Geus opened DATAMONGO-1861 and commented
The idea to be able to append new binary data into existing files is interesting for use cases such as a resumable file upload where the application server receives the data in chunks.
It would be a great addition to the GridFsOperations a new method where you can send the new chunk of binary data and the file id and this new chunk of data will be appended to the fs.chucks and update the metadata on the fs.file.
The method signature could be something like:
- ObjectId append(InputStream content, String id);
There is a suggestion on how to implement it here: https://stackoverflow.com/questions/6280186/append-data-to-existing-gridfs-file
No further details from DATAMONGO-1861