Automatic
- Started
- Last post
- 7 Responses
- chossy
hey chicks and dudes :D
could youse help me out please... I would like to put a simple (hopefully) script onto a button in flash to tell the browser to automatically start downloading a file.
So you click on some text and your download window opens and you see that you have started downloading such and such .mpg
thanks for any help :) if you solve this mystery I will dedicate a page to youse in my memoires entitled chossy a life of fortitude and crepes.
- chossy0
oh yeah and it's the version 6
- emecks0
only way to do it is to make the file you want to download a zip file...
otherwise you have no control over what happens with the file, if the user has a default application defined for that file type it will open whichever application the file is associated with.
:)
- chossy0
so it has to be a zip in order for it to download and go to the desktop or it will just open the application and thats that?....
can you phone me at work MX please I have another question for you unless you are about to go to work I just called your office
- rafalski0
only way to do it is to make the file you want to download a zip file...
otherwise you have no control over what happens with the file, if the user has a default application defined for that file type it will open whichever application the file is associated with.
:)
emecks
(Jun 26 07, 01:46)You prolly could change mimetype in the served file's header with php in order to force a prompt
- chossy0
cheers MX worked perfectly, I'll be in touch if we win the pitch then fire off the web work to you ye mad dick!!!
You are on the page in my memoirs covering all the gay people I have met in my life :)thanks again matey hopefully this will win the pitch for us and you can buy your bonnie lass a nice dinner with the money :)
- emecks0
schmairt!
forgot to say, I got 2 cases of Licher beer delivered yesterday, I'll put yer name on one of them :)
- chossy0
geeeeessss it :D nice one matey I'll share it with josimar as well !!!
see you soon and think on about the stings might be a bitch getting them to act for us...