Is it possible to get the contents of a directory with javascript?
Not really because of security reasons. You are trying to access client's file system !!
Note: There is FSO (File System Object) but to my knowledge it 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
No, not with JavaScript that runs within a browser sandbox.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With