Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6994

Windows 8 does not save big file transferred using Blob

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When trying to save Blob using FileWriter.write method, if the blob's size is too high, we get a stack overflow exception during the conversion of the blob into an basic array.

      WinRT (WinJS) provide a method to write Blob directly to the filesystem. It uses Streams so it's safe for memory.

      More info at :
      http://code.msdn.microsoft.com/windowsapps/Blob-Sample-0e35889e/sourcecode?fileId=43594&pathId=962515806
      Method : writeBlobToFile

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Somatic Maxime LUCE
            Somatic Maxime LUCE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment