-2

How to get all the files name,size,type and date created from specified folder using javascript or jquery.

i.e :

var path = "d://files";

Please check this fiddle link. In this demo user can select a folder and get all the files name from that folder. Instead of choosing folder how to fetch directly from a specified path.

2
  • You can do it, in the parallel universe. Commented Apr 8, 2015 at 9:38
  • you cant access files and folders with javascript Commented Apr 8, 2015 at 9:40

2 Answers 2

1

No, Javascript doesn't have access to the filesystem. You can do that using Node JS filesystem.

Sign up to request clarification or add additional context in comments.

Comments

1

Browser Javascript doesn't have access to user's file system.

Server Javascript (like node.js) may access to server's file system.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.