I want to get the physical file path.
I tried a few options. <input type="file">
I need to get the physical path to pass it to another API in windows service on the same machine.
is it possible or not?
Asked
Active
Viewed 2,085 times
0
-
show us what you have tried and your errors. – FarZad Jul 23 '20 at 11:09
-
When that _physical file path_ is on an Apple Mac or an Android phone, what would your windows service do with that? – H H Jul 23 '20 at 12:40
-
@henk-holterman i want to implement one of them . and always was run on windows – Murtaza Jul 23 '20 at 13:38
-
No, Blazor always runs in a Browser so, because _it could_ run on Android you only get APIs that run everywhere. – H H Jul 23 '20 at 14:32
-
I need to upload file to 3rdParty with file name !!!!! – Murtaza Aug 04 '20 at 12:05
1 Answers
1
It is not allowed because of security concerns. All modern web browsers have restricted this. Please see some of the many StackOverflow answers: https://stackoverflow.com/a/4176605/1158845 https://stackoverflow.com/a/3489167/1158845

Umair
- 4,864
- 3
- 28
- 47