Re: seeking javascript

by "Srinivasan Ramakrishnan" <srinivar(at)md3.vsnl.net.in>

 Date:  Wed, 7 Jun 2000 16:22:32 +0530
 To:  "Cyanide _7" <leo7278(at)hotmail.com>
 Cc:  <hwg-languages(at)hwg.org>
 References: 
  todo: View Thread, Original
Yes, if u have IE4 and above installed, you can manipulate the local file
system. However the user will get an alert saying that an unsafe script is
trying to run. Only if the user okays the action the script runs.


BTW, through Netscape's JavaScript (Server_Side) file access through read()
& write() I think, has been available for ages. But on NT systems with IIS
you will use the FSO.

ASP programs also make use of the FSO since it gives a common interface over
most MS programming langs.


-Srini



----- Original Message -----
From: Cyanide _7 <leo7278(at)hotmail.com>
To: <srinivar(at)md3.vsnl.net.in>
Sent: Tuesday, June 06, 2000 11:59 PM
Subject: Re: seeking javascript


| >Hi,
| >
| > >>>>| JavaScript won't do file-system work, even reading directory
| >contents.
| >
| >
| >Actually MS has ported the FSO (File System Object) to JS since its
jscript
| >engine version 4. It instantiates as an ActiveX object.
|
| client-side javascript can do this now? or server-side?
| server-side js has been able to do this for quite some time.
|
| - Cyanide_7
|
| >
| >At the cost of portability you could use JS on windows systems to access
| >the
| >file system.
| >
| >-Srini
| >
| >----- Original Message -----
| >From: Greg Rundlett <greg(at)freephile.com>
| >To: eric williams <eric_alt(at)hotmail.com>; <hwg-languages(at)hwg.org>
| >Sent: Tuesday, June 06, 2000 9:23 AM
| >Subject: Re: seeking javascript
| >
| >
| >| JavaScript won't do file-system work, even reading directory contents.
| >|
| >| You'll need to get a perl script or something with file-system access
| >(read,
| >| write, execute).
| >|
| >| hth,
| >| Greg
| >| founder www.freephile.com
| >|
| >|
| >| ----- Original Message -----
| >| From: eric williams <eric_alt(at)hotmail.com>
| >| To: <hwg-languages(at)hwg.org>
| >| Sent: Monday, June 05, 2000 8:16 PM
| >| Subject: seeking javascript
| >|
| >|
| >| > HI
| >| > I've been looking for and not finding a script which will search the
| >| > (specified) directory for all files of a chosen type and list them or
| >send
| >| > them to another script for handling.
| >| > i.e., to display all images in the directory, or list all audio
files,
| >| etc.
| >| > Can anyone help?
| >| > Also, how do you get the size of a file from the server?
| >| > thanks
| >| >
| >________________________________________________________________________
| >| > Get Your Private, Free E-mail from MSN Hotmail at
| >http://www.hotmail.com
| >| >
| >|
| >|
| >
|
| ________________________________________________________________________
| Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|
|

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.