javascript read directory

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
nincha
Forum Contributor
Posts: 191
Joined: Fri Mar 28, 2003 12:30 pm
Location: CA, USA

javascript read directory

Post by nincha »

any functions to open/ready directory? get all files in a directory?
nincha
Forum Contributor
Posts: 191
Joined: Fri Mar 28, 2003 12:30 pm
Location: CA, USA

Post by nincha »

nm, i found some reference on it.
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post 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=
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Re: javascript read directory

Post 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
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post 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...
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Post 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.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post 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.
User avatar
neel_basu
Forum Contributor
Posts: 454
Joined: Wed Dec 06, 2006 9:33 am
Location: Picnic Garden, Kolkata, India

Re: javascript read directory

Post 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
Post Reply