Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-484

C# GridFS driver fails for large files >2GB

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.5
    • Affects Version/s: 1.4.2
    • Component/s: None
    • Environment:
      Windows 2003 Server x64
    • Fully Compatible

      Files larger than 2GB size uploads with incorrect size in header due to (integer) truncation problem Download of the same file subsequently fails with message about MD5 failure. The problem is file MongoGridFS, Upload method, line 788. The line "var length = 0" should be changed to "long length = 0;" or force the 0 value to a long.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            ga gani.agabin@kla-tencor.com
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: