Feature Request: Add support for resumable uploads to com.vaadin.ui.Upload
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Please update com.vaadin.ui.Upload and FileUploadHandler to allow resumable uploads of large files.
Current behaviour:
- upload 1Go file
- full network disconnection for X min. or short Vaadin server disconnection (often on bad wifi or mobile)
=> restart from the beginning
Expected behaviour:
- upload 1Go file
- full network disconnection (or Vaadin server disconnection) - often on bad wifi or mobile
=> restart from last uploaded byte (or file sent by chunks, restart only last failed chunk)
Could be inspired from:
https://github.com/23/resumable.js/tree/master/samples/java
or
https://tus.io/demo.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading com.vaadin.ui.Upload and FileUploadHandler to understand the current upload flow. Compare their behavior with the resumable.js Java sample and the tus demo linked in the issue. Done means a large upload can resume after a network or Vaadin server disconnection from the last uploaded byte or failed chunk.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100