i have web application built on jvm. in application users able upload files. read contents of file , "something" it.
in addition this, give option users put in directory path. directory path read application , directory scanned relevant files (.csv). , each processed.
questions
will web-application able scan directory located on users machine? or directory path need in network web-app has access to?
i using commons io package scan directory files , process files, there better approach?
you cannot access file system of user machine pure web application. task can implemented using trusted applet or java application executed via java web start or trusted flash component or other native component (browser plugin).
applets obsolete , require jvm on client side. java web start still requires jvm. signed components (java based, flash, native code) require user approval.
i think better , more modern way use great feature of html 5 allows not navigation specific location on disk (that possible since html 1.0) selecting full directory.
take on following discussion details: does html5 allow drag-drop upload of folders or folder tree?
Comments
Post a Comment