Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2765

[GridFs] - Provide ability to append binary data in existing file

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: GridFS
    • Labels:
      None

      Description

      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 and has to append it into an existing fs.file.

      The C# Driver exposes this functionality if you use MongoGridFSStream Class.
      The idea is basically to get a stream of the file write your new bits in the end and close the file.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: