Find directory contents

Is it possible to get the contents of a directory with javascript?

+5
source share
3 answers

Not for security reasons. You are trying to access the client file system!

Note. . FSO (file system object) , but for my knowledge this only works in IE.

Useful resources:

http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm
http://4umi.com/web/javascript/fileread.php

+6
source

No, not with JavaScript, which works in a browser sandbox.

+1
source

, JavaScript, -, .

(, cscript.exe Windows ASP-), .

?

0
source

All Articles