I did it using react, and whenever I update the state of the path. the state gets updated as C:\fakepath\"filepath". I am not sure what the "fakepath" there. I am getting the output in the same format. I tried to open the file in js. But the path selected is in the above format. Why is the path getting changed ?
— You might be using this path when you're accepting the file. Check your code again.
— Can you show the code?
— The code is here
— My true path is something like "C:\home\"user"\Desktop\"filename"