0

Code to read data from USB ports

Can anyone share either java script or jquery code to read data from USB ports?

9th Jun 2018, 6:46 PM
Suman Gunda
5 Antworten
+ 4
Our pc not allow any Javascript or jQuery codes to access local resources. So it's not possible to read any usd data though JavaScript.
10th Jun 2018, 12:33 AM
Calviղ
Calviղ - avatar
+ 2
How would you access files not of USB? Not that familiar with JS, but I have few ideas.
9th Jun 2018, 6:56 PM
BlazingMagpie
BlazingMagpie - avatar
+ 2
BlazingMagpie You can't access any drives with JS. That would be a huge security flaw.
11th Jun 2018, 4:19 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
yes plz let me know those ideas
9th Jun 2018, 6:58 PM
Suman Gunda
+ 1
Basically, USB drives are not too different from hard drives, so you can probably access USB similarly, just using different drive letter.
9th Jun 2018, 7:01 PM
BlazingMagpie
BlazingMagpie - avatar