I’m in the process of building a web application in ASP.NET MVC C# (including ajax/jquery) and have to save a file locally to the client’s hard drive.
I have another application that polls a directory for new files, so it’s essential the files from the website ends up at that location so therefore showing a “save as..” won’t work.
What alternatives do I have? (Sadly I can’t rewrite that external application to work in any other way.)
Should I write the web application in silverlight instead?
Should I use an ActiveX object? ActiveX feels so 1995 though.. Are there any other variants nowadays?
I’ll vote for Silverlight solution.
But instead of developing your site entirely with Silverlight, just write a small and hidden Silverlight component that would receive a remote file location and stores it in user’s local file system.
Check this other answer in Stackoverflow:
And watch this movie: