I have a site where you can search through a number of files on a database. Now I need somesort of download function where I can provide the URL and the user can download the file to thwir local machine.
I tries the SaveAs function but it just tries to save the whole page as an HTML. Is their any sort of SaveTargetAs function I can use?
Why don;t you just say on the page (Right click on the link to save)
The SaveAs code you are using is probably IE only also.
Kevin P Smith
Joined: Feb 18, 2005
Because I need to record each download so I know who downloaded what/when and my boss would never accept a "right-click here to save" option as a solution. He'll want a button/icon you click on which loads a save window where you select your Desktop/My Documents and lisk save/download
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com