Results 1 to 4 of 4

Thread: read file from usb drive

  1. #1
    Join Date
    Nov 2008

    read file from usb drive

    is that possible to read a file from usb drive, that to be used validate access to gain the authority. and if so...how?

    thanks in advance

  2. #2
    Join Date
    Dec 2005
    Ajax only works on server files, AFAIK.

    You can put an external JS file on the USB drive
    so long as you reference it in the same directory as the HTML.

    JS is not a very good language for projects with security issues.
    All scripts (with passwords, authorization, etc.) can be viewed in a browser.

  3. #3
    Join Date
    Jul 2008
    urbana, il
    you can use <input type='file' multiple /> to load files from any drive.
    for IE browsers, you'll have to upload it temporarily to a server and ajax the response back to javascript. modern browsers can read the file data directly from the input without using the network...
    Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com

  4. #4
    Join Date
    Nov 2008
    thanks for help, i might get a idea, not sure yet, i will be back asap i finger it out

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center