I have a problem on opening files on windows. These files (.pdf, .doc, .xlsx, .png, .....) are on the server computer: B where my REST application (node, Expres, angularJS) is deployed. The client computer is rated A.
To open any file, I used this: require ('child_process'). exec (' start '"' + pathOfFile);
Except that this opens the file on the computer B. And I want the file to be open on the computer A few be the way.
Someone would have any idea ?
Thank you