How do I access the version of an .exe file with JavaScript?

0

I would like you to help me solve a small problem.

I need to access the property called "version" in my file, and I know this is done in Javascript. But I do not know which tag to use, or what to do to get to it. How can I do this?

    
asked by anonymous 19.09.2017 / 20:33

1 answer

2

Through JavaScript only, there is no way to access the version of a .exe file.

If you are using File() , according to W3C , the only values returned from a given file are:

  • The sequence of bytes;
  • The size of the file;
  • The name of the file;
  • The file type;
  • The last modified date;

As said in the comments too, reinforcing the answer:

  

[...] Not even the path is exposed [...]

From the comment it is already underlined that you can not even find out the actual path that upload was made. This issue of user privacy is really taken very seriously by W3C.

You can read more about this other related question: How to find out which folder the user uploaded?

    
19.09.2017 / 21:05