Page 1 of 1

javascript read directory

Posted: Wed Sep 13, 2006 6:12 pm
by nincha
any functions to open/ready directory? get all files in a directory?

Posted: Wed Sep 13, 2006 6:18 pm
by nincha
nm, i found some reference on it.

Posted: Wed Sep 13, 2006 7:11 pm
by wtf
If you search this forum you'll find an abundance of stuff. I know for a fact someone was asking the exact same thing within last few days.

For example

viewtopic.php?t=55363&highlight=

Re: javascript read directory

Posted: Sat Dec 09, 2006 8:50 am
by neel_basu
nincha wrote:any functions to open/ready directory? get all files in a directory?
If You Are Trying To Do This With JavaSCript

Then The Best Way is To Use fso ActiveX Control

Posted: Sat Dec 09, 2006 2:12 pm
by nickvd
Javascript CANNOT access the local drive... not possible at all... (just think of the security implications)

As neel said, if you MUST have it, then you'll be forced to use activex and limit your application to IE only...

Posted: Sat Dec 09, 2006 9:30 pm
by neel_basu
Although I Dont Think there Is Any Reason for Which A Web Page Will Try To get Access To The File System.

But If Some One Need It Really
fso ActiveX Control And JScript Are The Only Way.
But Both Of Them Are Only For IE.

Posted: Sat Dec 09, 2006 10:23 pm
by Zoxive
neel_basu wrote:Although I Dont Think there Is Any Reason for Which A Web Page Will Try To get Access To The File System.

But If Some One Need It Really
fso ActiveX Control And JScript Are The Only Way.
But Both Of Them Are Only For IE.
Neg, Flash can. Deviant art uses flash to upload files.

Re: javascript read directory

Posted: Sat Dec 09, 2006 10:26 pm
by neel_basu
Ya aFlash Can Do It .
But He asked
Posted: Wed Sep 13, 2006 6:12 pm Post subject: javascript read directory nincha wrote:any functions to open/ready directory? get all files in a directory?
That Means He Wanted To Do It With JavaScript