I am developing an ASP MVC controller that returns a FileResult
.
In the browser, I do not want to show the download prompt and download the file to a specific location on he client machine. Is it possible please?
I am developing an ASP MVC controller that returns a FileResult
.
In the browser, I do not want to show the download prompt and download the file to a specific location on he client machine. Is it possible please?
Afraid that's not possible, owing to that would make it really easy to install a virus. What you could do is make an installer .exe that once run would put the files in the correct place, but that would add another step, which might be what you are trying to avoid.