locked
Read the alternate Data Stream of a file with Javascript RRS feed

  • Question

  • User237591224 posted

    Is is possible to read the Alternate Data Stream of a file that is selected using a file upload control? I have a web page that allows a user to select a file (word, ppt, text, etc). Before they upload the file, I want to read the Alternate Data Stream of the file. I want to capture that data to send as part of the file upload later. I've come across various javascript functions that let you read the contents of a file in the browser. But so far nothing on reading the alternate data stream. Any ideas would be appreciated.

    Tuesday, November 21, 2017 7:06 PM

All replies

  • User-474980206 posted
    Browsers not support this, especially as it’s a windows only file feature. If you really need it, you will need to write a browser plugin to do this. Plugins are coded different for each browser type, so see the docs for your browsers of choice.

    Note: most browsers are dropping plugin support, so this will not be a long term solution. Eventually you will need to supply a desktop app to implement this feature.
    Wednesday, November 22, 2017 1:44 AM