Upload - notification for removed files

I am using the Upload component to upload multiple JSON files. The default Upload component shows all uploaded files and allows the user to remove a file.
How can the application be notified about the removal of a file? I cannot identify a related listener.

A similar post (https://vaadin.com/forum/thread/17336034/17336035) has not provided an answer

Thanks for your support,
HU

Hi,

please have a look at
https://vaadin.com/forum/thread/17336034/18523934
again.

Basically a DomEvent is needed in which you can get the removed file name. It’s not perfect since multiple files with identical names can lead to problems but aside from that it works.

Hi,

thanks for the hint above - that works indeed. Is there a way to programmatically remove the file components, e.g. by file name?
I added custom components below to display results of processing the uploded content. Alternatively, if the application could receive the “start” events when the upload of a file starts after dropping it onto the upload component, the app could manage custom progress components itself.

Any suggestions would be appreciated.