I'm trying to access a file which is available in "D:\Angular Project\sample.txt". Need to show this contents in Text Field. How to fetch the contents.
Asked
Active
Viewed 106 times
0
-
1I hope this is not possible. The security implications would be disastrous. – Henry Dec 18 '17 at 08:41
-
https://stackoverflow.com/questions/46470453/angular-2-angular-4-how-can-i-access-file-from-the-local-system-location – Gautam Dec 18 '17 at 08:57
-
your server should be the one doing the reading not your Angular. Because it doesn't have a permission to do so. – Rowel de Guzman Dec 18 '17 at 09:06
-
Thanks for your help – Khan.N Dec 18 '17 at 09:34