I am trying to get full file path on uploading the file in Angular, is there any way i can get it. Please let me know. thanks
Asked
Active
Viewed 203 times
0
-
First of all the file selected in input it is come from temp location you get that. – Mr Perfect Aug 12 '20 at 14:27
-
1Do you mean that you want the exact path of your file instead of a fakepath ? Because this is not possible. Your browser prevent this unsafe situation by bypassing the path. – Alexis Aug 12 '20 at 14:35
-
**For jQuery** Follow this post [Link](https://stackoverflow.com/questions/4459379/preview-an-image-before-it-is-uploaded) – Mr Perfect Aug 12 '20 at 14:38
-
This will get you the temp path – Mr Perfect Aug 12 '20 at 14:39
-
Security prevents it. – epascarello Aug 12 '20 at 14:41
-
I want to upload a file, before uploading i need to know the file path, so.. when I select any preferred folder in browse option, it should give me the file path – saicharan eurugu Aug 13 '20 at 17:08