How to create 'save as' url?

2.2k views Asked by At

Is it possible to take a direct download url/link, and format it so when it is entered it automatically chooses to save as? This is not going to be done as a link in the HTML, this needs to be a url/link I could email someone that when clicked, or copy/pasted into a browser would run as a save as option.

Example: saveas_http://sourceforge.net/projects/vlc/files/latest/download?source=carousel

I am trying to provide a link to a hosted xml file.

If you click the link, it tries to open the xml in your browser, but if you save as, it will actually download the file.

So if a save as switch on a URL is not possible, any recommendations to achieve the same result is appreciated.

This will be offered on machines I don't have control over, so choosing to modify the machines default action for opening xml files is not going to be a feasible option.

1

There are 1 answers

2
jksloan On

Think this post covers the same topic and might have the solution you're looking for.