Murtaza
Murtaza

Reputation: 41

Blazor Input File Component (physical path)

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?

Upvotes: 0

Views: 2575

Answers (1)

Umair
Umair

Reputation: 5481

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

Upvotes: 1

Related Questions