Upload file to Networked drive

R

Rishi Dhupar

I am trying to upload a file to a networked device. All the users who
have access to this page have access to the networked drive. Is there
anyway of doing pretty much a copy file from local computer to
networked drive through JS?

Thanks
 
J

Julian Turner

An amateurs opinion:-

If the networked drive is accessible like any other drive (e.g. through
Windows Explorer if you are on a Windows platform), then it should be
perfectly possible.

If you are using Internet Explorer (or a browser supporting
ActiveXObject), then you should be able to use the
"Scripting.FileSystemObject" ActiveX object. If you Google on this or
search on the MSDN web site, you will find a wealth of information.

You will need to specify the correct file path. If the networked drive
has a drive letter, then you may be able to copy files using the normal
file path (e.g "J:\MyNetworkFolder\"). Otherwise you may have to use a
path beginning with "\\".

If you want to use Firefox, then you will nead to learn about file
handling components in XPCOM. A good place to start is
<URL'www.xulplanet.com>

Regards

Julian
 
R

Rishi Dhupar

Realized it would haev to run an unsigned activeX control, so that
won't do it. Going to have to go back to the drawing board to figure
this out.

Thanks though.

RishiD
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top