Generic Javascript View get full path of file input

Hi community,

I have an input type=file in a Generic JavaScript View. How can i get the full path of the selected file?

Can anyone help me?

Thx.

Hi,
I think for security reasons browsers do not disclose the full path of the uploaded file.
Kind regards,
Alexander

Hi Alex,

that’s what I thought. Is there a workaround to get at least part of the path?

Hi,
You can only get the name of the file. There is an example on the Mozilla developer documentation: https://developer.mozilla.org/de/docs/Web/API/File/name
Kind regards
Alexander