../Msgboard/General customization/Using System File Object to access / write files on a network drive.
OzonesDeck - 19 Sep. 2007 - 10:03:
Using System File Object to access / write files on a network drive.
Anyone know how this can be done using Javascript? I can do this without trouble on local drives, but I bump into "permission Denied" errors and such when I try it in a network location.
19 Sep. 2007 - 10:38
grigri
I've never tried using it, but I've heard that WMI is better for network scripting than the FSO. A good resource to start would be the
Hey, Scripting Guy! archives.
20 Sep. 2007 - 09:35
DJ_Loao
Is it a network location (ie: \\yourserver\yourdir) or a mapped drive (yourdir on 'yourserver' (M:))?
I've used the FSO over mapped drives before, so I know that works, but not over network shares directly (I've got a feeling it likes a drive letter at the start of its paths).
If your using a direct network share, there might be a security function in Javascript /the FSO that doesn't allow it - You know, the same as it can't read data across domains.
If you haven't already, try mapping the share as a local drive.
Please log-in to post.
You need to be logged in to post. To log-in, or to register an account go -
there.
Options
../Msgboard/General customization/Using System File Object to access / write files on a network drive.