Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 07, 2012 10:19 AM by roopeshreddy
Member
62 Points
51 Posts
Dec 03, 2012 07:05 PM|LINK
Hi,
Can someone help in letting me know what i am doing here rong. I am trying to open a folder using javascript but when i click in shows me blank page.
<script language="javascript"> <!-- window.open = "file:///xxxxxxx/xx%20xx%20xx"; //--> </script>
Dec 03, 2012 07:21 PM|LINK
I used
window.open("file:///xxxxxxx/xx%20xx%20xx");
but it says that "Access is denied" but i am able to access the folder from Run in my system.Can someone help me Thanks
Star
14320 Points
2440 Posts
Dec 04, 2012 04:42 AM|LINK
Hi, Web Browsers are not meant for filesystem browsing. use ur windows explorer to browse files (not IE). for view purpose you can use <input file /> check this site: http://www.w3schools.com/jsref/dom_obj_fileupload.asp or folder select for Chrome: http://stackoverflow.com/questions/5826286/how-do-i-use-google-chrome-11s-upload-folder-feature-in-my-own-code
Dec 04, 2012 05:00 PM|LINK
Hi Thanks for your reply
Here i am not looking to upload any file. I am trying to browse the folder where i can open any file. Can you help me how i can do that in a windows explorer i mean how i can open the same in windows explorer.
Thanks in advance for your help
Dec 05, 2012 05:01 AM|LINK
Check this to understand what windows explorer
All-Star
42888 Points
7020 Posts
MVP
Dec 06, 2012 05:33 AM|LINK
Hello,
vishalvl I am trying to browse the folder where i can open any file.
You have to do this using silverlight. AFAIK, javascripts along will not be able to achieve this. Try your luck in silverlight forums.
Please 'Mark as Answer' if this post helps you.
20135 Points
3323 Posts
Dec 07, 2012 10:19 AM|LINK
You can't do any FILE IO operations in JavaScript!
But, check few solutions here - http://stackoverflow.com/questions/5770645/file-operation-using-javascript-or-jquery
Hope it helps u...
vishalvl
Member
62 Points
51 Posts
How to open a network folder using javascript
Dec 03, 2012 07:05 PM|LINK
Hi,
Can someone help in letting me know what i am doing here rong. I am trying to open a folder using javascript but when i click in shows me blank page.
vishalvl
Member
62 Points
51 Posts
Re: How to open a network folder using javascript
Dec 03, 2012 07:21 PM|LINK
I used
window.open("file:///xxxxxxx/xx%20xx%20xx");
but it says that "Access is denied" but i am able to access the folder from Run in my system.Can someone help me Thanks
raju dasa
Star
14320 Points
2440 Posts
Re: How to open a network folder using javascript
Dec 04, 2012 04:42 AM|LINK
Hi,
Web Browsers are not meant for filesystem browsing.
use ur windows explorer to browse files (not IE).
for view purpose you can use <input file />
check this site: http://www.w3schools.com/jsref/dom_obj_fileupload.asp
or folder select for Chrome:
http://stackoverflow.com/questions/5826286/how-do-i-use-google-chrome-11s-upload-folder-feature-in-my-own-code
rajudasa.blogspot.com || blog@opera
vishalvl
Member
62 Points
51 Posts
Re: How to open a network folder using javascript
Dec 04, 2012 05:00 PM|LINK
Hi Thanks for your reply
Here i am not looking to upload any file. I am trying to browse the folder where i can open any file. Can you help me how i can do that in a windows explorer i mean how i can open the same in windows explorer.
Thanks in advance for your help
raju dasa
Star
14320 Points
2440 Posts
Re: How to open a network folder using javascript
Dec 05, 2012 05:01 AM|LINK
Hi,
Check this to understand what windows explorer
rajudasa.blogspot.com || blog@opera
Ruchira
All-Star
42888 Points
7020 Posts
MVP
Re: How to open a network folder using javascript
Dec 06, 2012 05:33 AM|LINK
Hello,
You have to do this using silverlight. AFAIK, javascripts along will not be able to achieve this. Try your luck in silverlight forums.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.roopeshreddy
All-Star
20135 Points
3323 Posts
Re: How to open a network folder using javascript
Dec 07, 2012 10:19 AM|LINK
Hi,
You can't do any FILE IO operations in JavaScript!
But, check few solutions here - http://stackoverflow.com/questions/5770645/file-operation-using-javascript-or-jquery
Hope it helps u...
Roopesh Reddy C
Roopesh's Space