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?


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

Hi Alex,

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

You can only get the name of the file. There is an example on the Mozilla developer documentation:
Kind regards

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.