hey everyone , I’m relatively new to javascripting. Basically what im trying to do is load a text file from inside my users folder. Im using XMLHttpRequest.open to accomplish this. The script works fine as long as the text file is within the directory where the html page exists. However , the text file I want to load will be outside of the scope of the project folder. ive tried the following url’s
file:///C:/Users/Owner/AppData/Roaming/Test/test.txt
file://C:/Users/Owner/AppData/Roaming/Test/test.txt
C:/Users/Owner/AppData/Roaming/Test/test.txt
C:UsersOwnerAppDataRoamingTesttest.txt
I have tried this straight from the project folder , and through my local host. Still nothing happens. Is there a way to accomplish this ?