I have a web application whose purpose is to upload some excel files and images related to that excel file. Now for example if directory structure on client side is as follows

..
  /education.xls
  /educationImages
      /img1.png
      /img2.png

can I write a code in javascript/jquery/angularjs so that if user selects education.xls for upload, my script would automatically attach img1 and img2 with that form data ?

share|improve this question
    
We now have a FIleSystem API for web. Please see html5rocks.com/en/features/file_access – sid-m 2 hours ago
    
this api relies on user to select files? or it can read files without user selection? – user3693606 1 hour ago
    
taking a look here reveals that you can explore the FileSystem with API itself. Considering your use case, it is possible to read the related image files after user selects the xls file to upload. – sid-m 1 hour ago
    

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.