I would like to get the download path for web browser clients.
How do I detect the default download path on a client PC in an asp.net core 3.1 project (c#)?
I would like to get the download path for web browser clients.
How do I detect the default download path on a client PC in an asp.net core 3.1 project (c#)?
Poul Bak's comment is correct.
As we know, .net core 3.1
webapp just support broswer to access the resource from the webserver. It can't do anything in client side.
If we want to do something on the client side, we can only call it through Javascript under the premise of browser security.
And it's not possible to get broswer download path with javascript.