How to access a file in local system using javascript?
- by Ka-rocks
I'm using JQuery mobile frame work. I'm having a server which host a website. The user can connect to website through mobile browser and download files(.doc, .xls, .pdf etc) from that website. I need to open the file which is saved in the user's mobile programmatically using java script. I tried to open using location.href="file://sdcard/download/test.doc".
But it didn't work. It showed permission denied. Is there any way to this? Please help. Thanks in advance.