In my java web application need to copy 6 files from server to user machine usb drive on clicking of save files button.
If usb drive not found than need to show warning message 'no usb drive detected'.
I think, Due to security issue it is not possible through Java script.
What will be the correct solution?