File copy using javascript not Filesystemobject

S

Sergio Otoya

Hi all,

Is there any way of copying a file using javascript, not using the
Filesystemobject (ActiveX). I need this to run in Windows and MACS.

Any help would be greatly appreciated.

Thanks in advance.

Sergio Otoya.
 
L

Laurent Bugnion, GalaSoft

Hi,

Andrew said:
Hikks:
JScript has access to the client file system, as Sergio mentions, with
the help of ActiveX. It just doesn't automatically have it in IE's
default security configuration. It is this ActiveX control that "script
kiddies" utilise in their beloved email-borne "viruses". The only thing
it can't do is rename files (directly) or set access permissions on
them, although if you can get FSO to run in the first place you can
probably get a shell object running as well and do those things with the
command line!

To be totally exact: Client-side JScript does *not* have access to the
client file system. ActiveX, under certain conditions (relaxed security
environment) has access to the client file system, and JScript can,
under certain circumstances, script ActiveX components.

Sergio:
No, unless you write your own plug-in!

There is one way in Netscape, using the Java objects (java.io.File and
the likes). I am not sure, however, that it will work on Macintosh.

Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,573
Members
47,205
Latest member
ElwoodDurh

Latest Threads

Top