Html Link To Local File And Open In Local Application
I'm trying to link to a file hosted locally on an internal webpage for employees only. Here is the link: *****
Solution 1:
If you send it with the http header
Content-Disposition: attachment; filename=file.xls
It should pop open the "what do you want to do with this file" dialog
Solution 2:
Found this on here: http://www.codetoad.com/forum/14_18720.asp
"I think you'll find success by linking to a properly configured shortcut (.lnk) instead of the file itself. Configure a shortcut to the application that passes the data file as a parameter. Then try setting your HTML link to the shortcut file. If this works, it will only work on Windows of course, and the user will have to have the app installed -- and in the same directory structure as the link specifies."
Post a Comment for "Html Link To Local File And Open In Local Application"