Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1994

Use HTML5 to upload files in Submission Process of JSPUI

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 5.0
    • Component/s: JSPUI
    • Labels:
      None
    • Attachments:
      2
    • Comments:
      6
    • Documentation Status:
      Complete or Committed

      Description

      This ticket is the same as DS-1562, but for JSPUI.

      Currently files get uploaded using a html form. This has some major flaws for example if a transmission breaks the hole file has to be uploaded again, the size of files that can be uploaded this way is limited and you can only upload one file at once.

      HTML5 File API allows to define an element (f.e. a div-element) that can be used to drag and drop files on it. HTML 5 although can cut files in slizes. With this feature set it is possible to overcome the faults specified above. It is possible to drag and drop several files at once. With JavaScript every File will be sliced into chunks and each chunk will be transmitted seperatly. If a transmission fails only the chunk that was submitted has to be retransmitted. When all chunks got transmitted correctly the chunks have to be reassmbled on the server.

      There is a JavaScript Library that does allmost all of the HTML5 magic and has a compatible License. It can be found at http://github.com/23/resumable.js.

      This ticket is realeted to DS-1562, DS-1641 and DS-1639.

        Attachments

        1. Multiple File Upload, Joblist.jpg
          124 kB
          Pascal-Nicolas Becker
        2. Upload Verify.jpg
          145 kB
          Pascal-Nicolas Becker

          Issue Links

            Activity

              People

              • Assignee:
                pbecker Pascal-Nicolas Becker
                Reporter:
                pbecker Pascal-Nicolas Becker
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: