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..

1
  • 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. stackoverflow.com/questions/14052473/… Commented Dec 26, 2015 at 20:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.