#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2001
    Location
    Indore
    Posts
    3
    Rep Power
    0

    Question


    Hello there
    I would like to know if there is anyway possible to use the FileSystemObject to access the local directories of the client who is going to view my jsp page. I have to upload a file from the client side. Please advice if a better way if possible. I cannot use the <input type="FILE" tag as it is specified not to use it

    Thank you
    Rahul
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    Dublin
    Posts
    413
    Rep Power
    14
    Could use an applet or an activeX object - but it will only work if the user's security settings allow it...
    The <input type=file is the only way (I know of) that you could read the file with a server-side script.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    81
    Rep Power
    14
    You won't be able to use the FileSystemObject on the client because it violates the security model. And if you can't use the <input type="file" tag, then you might want to look at some commercial ActiveX/Java objects:

    JFile/XFile from SoftArtisans
    http://www.softartisans.com/

    AppletFile from Infomentum
    http://www.infomentum.com/
    Robert Dominy
    About Guide for JavaScript
    http://javascript.about.com
    Software Consulting & Development
    http://www.angusog.com

IMN logo majestic logo threadwatch logo seochat tools logo