Click to See Complete Forum and Search --> : open/save file from hyperlink


smay
12-27-2006, 11:17 AM
As I understand it, you can create a hyperlink to any filetype and when clicked, if the end user's browser does not know how to handle the type it will display an open/save dialog box. Correct?

So I have 2 files in a directory on my website (a.xml and a.aml). The xml file opens in the browser as expected, the aml file is the same file as the xml with a changed extension. When I click on the aml link I get "The page can not be found" rather than the open/save dialog.

Ideas?

KDLA
12-27-2006, 02:10 PM
The file type has to be one that the browser can reference for the open/save dialogue. Many times, that's dependent upon the platform and/or existing programs on the computer.

What you might do, instead, for those files you wish saved is to place them in ZIP files, or another similar format. (This might help, too, if the browser's security settings do not allow your file types to be downloaded.)

smay
12-27-2006, 03:02 PM
So even if I have associated .aml with an app on my machine, that doesn't necessarily mean it will recognize it and give me the save/open option?

Thanks.

KDLA
12-27-2006, 03:18 PM
Right, because that's a setting on your machine; your association setting doesn't change the settings of other machines around the world. ;)

smay
12-27-2006, 04:03 PM
i understand that, but this functionality will be built around a specific application that the users have purchased. so i was hoping that if it worked (on my machine) i would know what had to be done on my customers' machines to get the same results.

is there some setting that can me changed to "tell" the browser to display the save/open box?