|
-
Nov 26th, 2004, 01:37 AM
#1
Thread Starter
Junior Member
Specify the action for a link depending on its file extension
Hello,
On our website users can download templates that are used in one of our applications. The templates are just plain text files of about 5k, and they have the extension .tpl.
Problem is when someone clicks on one of the template links, the page opens in the browser, what we want is the dialog to pop up asking the user where they want to save it.
Is this possible?
Also, is it possible to specify a default path where a file is to be downloaded to. The templates have to be placed in a specific directory and it would be nice if when the dialog pops up this directory is already set, e.g. C:\Program Files\My App\Templates
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|