PDA

View Full Version : Scanning directory



michaeleekk
June 28th, 2007, 11:07 AM
hi~
Is there any way to scan a specific folder, and read all the file names inside that folder ?

dthought
June 28th, 2007, 11:11 AM
Not that I am aware of, although with the ability to download files inside of Flash, it might be possible to prompt the user for a location... whether you can read files is another matter.

The reasoning would likely be that it would be a potential security risk if a web-local file was able to read off users' hard drives at will.

McGuffin
June 28th, 2007, 12:03 PM
I'm 99% sure you'd have to use a serverside language such as PHP.

http://www.google.com/search?q=PHP%20directory%20list

michaeleekk
June 29th, 2007, 10:26 AM
I'm 99% sure you'd have to use a serverside language such as PHP.

http://www.google.com/search?q=PHP%20directory%20list

Good, thanks :)

NaughtyPine
June 29th, 2007, 12:27 PM
McGuffin is correct php is your best bet.
Php is great for accessing the file system.