vaadin / vaadin/framework

Feature Request: Add support for resumable uploads to com.vaadin.ui.Upload

Open
#10,775 1 comment 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.