Upload file to Networked drive

Discussion in 'Javascript' started by Rishi Dhupar, Feb 24, 2006.

  1. Rishi  Dhupar

    Rishi Dhupar Guest

    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
    Rishi Dhupar, Feb 24, 2006
    #1
    1. Advertising

  2. 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
    Julian Turner, Feb 24, 2006
    #2
    1. Advertising

  3. Rishi  Dhupar

    Rishi Dhupar Guest

    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
    Rishi Dhupar, Feb 24, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon
    Replies:
    5
    Views:
    11,116
    Scott M.
    Jan 17, 2010
  2. Aaron Fude
    Replies:
    1
    Views:
    274
    David Hilsee
    Sep 28, 2004
  3. mh
    Replies:
    4
    Views:
    683
    Wolfgang Strobl
    May 31, 2005
  4. Tom Anderson
    Replies:
    8
    Views:
    379
    Gerrit Holl
    Sep 15, 2005
  5. shailesh
    Replies:
    1
    Views:
    753
    Tim Golden
    Mar 28, 2007
Loading...

Share This Page