Upload component - how get file name in client?

Hello

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.

See
FileUpload object (JavaScript)
. It is not possible to get the full path - see e.g.
http://stackoverflow.com/questions/15201071/how-to-get-full-path-of-selected-file-on-change-of-input-type-file-using-jav
.

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.