In the past I have added a feature to a page that allowed a user to select and upload files from their own filesystem, but for this project I need something different, here's what I am trying to do:
Without giving away too much info about the project here is the idea (its an end of year assignment for my Uni course)
In general, it is a Raspberry Pi robotics project with an interactive website - so the user has a little RPi robotics kit, they want to upload and execute programs for it, so they use my website to directly upload and configure programs and software to make their robotics kit do 'stuff', they are anything from robotic arms and grabbers, sensors, home controls (lighting and other systems) to little remote control and automated vehicles ...
So I need the end-user to be able to go to my website,
choose a program for their kit
connect the robot kit to their PC via USB,
use a menu widget within the webpage to select their USB device (the robot),
upload the software (at the moment they are python files)
Rather than select a directory within the robot kit, I need them to select the device itself
The part I am stuck with is finding out how to ask the user to select their device (not a file or directory). I have seen websites that do this sort of thing but can't remember where specifically so I can't look at the code for this sort of thing.
Let me know if this is possible please and what I would need to do to achieve it - I apologise because I am in a rush while writing this post so haven't described and worded it the best.
I will check tomorrow to see if anyone replies, and please let me know if you want me to explain anything further
Thanks in advance