Upload component - how get file name in client?


I wonder how can I read string that is inside of upload text field when you select file but haven’t uploaded it yet.
I want to get file name before it’s send to server.

Best regards

Any one know how to do it ?

This question has nothing to do with Vaadin.

FileUpload object (JavaScript)
. It is not possible to get the full path - see e.g.

EDIT: Actually, the original formulation of the question can be taken in a Vaadin context as well - in that case, you could implement a JavaScriptExtension that reads the value and sends it to the server.