...

View Full Version : how to list and read the client machile files and directories using javascript



priya_bob
08-05-2008, 08:47 AM
Hello,

I want to list out the client machine's files and directories using javascript. Client machines may have OS as linux or window as my apllication is online.
how to di this. Please help me.

abduraooft
08-05-2008, 09:16 AM
It's not possible to interact with client machine/files through browsers. You may need to write a standalone application to install it on their machine(with their permission)

rnd me
08-05-2008, 10:12 AM
It's not possible to interact with client machine/files through browsers. You may need to write a standalone application to install it on their machine(with their permission)

it should work fine if the user simply saves the page contain the script to the folder with the files, no installation needed.

if firefox GETing a local folder path returns a space separated list of files. IE can use the FSO (file system objects) to retrieve the directory info.

ssonawa
08-05-2008, 10:54 AM
Refer following link, might be useful to what you want

http://www.codeproject.com/KB/scripting/JavaScript__File_Handling.aspx

:thumbsup:

kaos_frack
08-05-2008, 12:36 PM
you can do it using activex on ie only... but that needs users permissions



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum