Greetings. Using MVC 3.5, I need to download a file, stored on the server, to the user's machine. The destination path is unknown so a file dialog box should appear where the user can select the destination. Here's the flow:
1. User clicks a ActionLink which retrieves does some db calls to retrieve the source file path. - Done
2. Still inside the ActionLink's method, a file dialog appears. The user selects where the file will be saved on his local machine - Need Help Here
3. Still inside the ActionLink's method, the site saves the file to the destination - Need Help Here.
4. Action link method done.
Can you please provide working code that follows this flow? Here's a public pdf that should be downloadable via the method http://www.afplweb.com/images/stories/content_PDFs/Examples_of__Foundation_Investments.pdf
or if you like to use your own that's fine.
Thank you much!