pmacmann
asked on
Getting a list of directories/subdirectories on a client machine asp.net
How can I (on a web page in asp.net) get a listing of directories on the client machine? I want the user to be able to search the local drives on the client machine and finally be able to choose a directory name (which I will then use to do some processing).
Ideally I would like the BROWSE capability when using the <input type=file> to upload files.
Thanks.
Ideally I would like the BROWSE capability when using the <input type=file> to upload files.
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
as I said you can do it
var fso, dir, file;
fso=new ActiveXObject("Scripting.F ileSystemO bject")
dir=fso.GetFolder("c:\\")
there's whole lot more you can do with FSO
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsobjFileSystem.asp
var fso, dir, file;
fso=new ActiveXObject("Scripting.F
dir=fso.GetFolder("c:\\")
there's whole lot more you can do with FSO
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsobjFileSystem.asp
ASKER