2

I am working on an application using angular.js. I have a download button on click of that user will download file.I have another button for uploading same file on server.I don't want user to browse file and upload.I want to take file automatically from file system on click of upload button.Is it possible in angular.js or i need to do it by using another technology?

Every help or suggestions will be appreciated..

JITULOVE16
  • 21
  • 3
  • You can use javascript to upload a file the user has selected. But browsers will generally prevent you from accessing local files from javascript on pages dowloaded from a server. http://stackoverflow.com/questions/14052473/go-to-local-url-with-javascript – joshp Dec 26 '15 at 20:04

0 Answers0