How to access a file in local system using javascript?
Posted
by
Ka-rocks
on Stack Overflow
See other posts from Stack Overflow
or by Ka-rocks
Published on 2010-12-28T12:46:11Z
Indexed on
2010/12/28
12:54 UTC
Read the original article
Hit count: 156
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.
© Stack Overflow or respective owner