[Javascript] copying a file

Peter Brunone peter at brunone.com
Mon Aug 6 10:35:00 CDT 2001


Just some randomly scattered questions:

    What is the path in folder_loc, and what OS are you running?

----- Original Message -----
From: "Andrew Dunn" <adunn at interworx.com.au>
To: <javascript at LaTech.edu>
Sent: Monday, August 06, 2001 1:34 AM
Subject: [Javascript] copying a file


| howdy,
|
| i'm trying to copy a file using ActiveX file system object. But when I do
it
| gives me an error, "permission denied". I can copy folders with no errors.
| Does anyone have any ideas why i can't copy files? The line that does the
| copying is:
|
| html_file =
| obj_fso.CopyFile("C:\\demo\\d2k\\equote\\main.htm",folder_loc,true);
|
|
| Thanks,
|
| Andrew




More information about the Javascript mailing list