Click to See Complete Forum and Search --> : Linking to files for download


tobyw_1969
07-17-2003, 11:16 AM
This is probably a really stupid question but...

I have a link to a Flash .swf file on my page, which I want the user to be able to use to download the file.

But when the link is clicked, instead of bringing up the 'save' dialogue box, it just opens the .swf in the browser.

Could anyone tell me how I can tell the browser that this link should download the file instead of opening it in the browser?

I think the reason it's doing this is because I have my browser set as the default application for standalone Flash movies...but obviously there is a big chance that many other people also have this too...so how can I force the download?


Thanks a lot for any help.

DaveSW
07-17-2003, 11:27 AM
Zip it is the easy way.

DaveSW
07-17-2003, 12:33 PM
if pyro was here and had read this, he would have posted this link:

http://www.infinitypages.com/research/download.htm

note: it requires php.

LOL

pyro
07-17-2003, 12:44 PM
LOL... :D

tobyw_1969
07-17-2003, 12:45 PM
Thanks Dave - I was hoping not to have to zip...but if no one has any other way I guess I will have to.

I didn't understand that link - seemed to be how to bring up a text file in the browser based on a dynamic call...it didn't download anything when I tried it. Was I missing something?

pyro
07-17-2003, 12:49 PM
What browser were you using? I have listed on the bottom which browsers I tested with and which do/do not work...

tobyw_1969
07-17-2003, 04:36 PM
Ah - was it supposed to force a download? With me, it just opened the text in the browser. I am using 5.5

fla5hba5h
07-17-2003, 05:34 PM
Just put a "click here to download" link and tell your users to right click the link and "save target as".

tobyw_1969
07-17-2003, 06:28 PM
mac users?

fla5hba5h
07-17-2003, 07:31 PM
Can't they hold down their mouse or however they right click?