You are here: Re: How do I get a File Download dialog window to pop up? « HTML « IT news, forums, messages
Re: How do I get a File Download dialog window to pop up?

Posted by J.O. Aho on 01/13/07 16:01

Graham Stow wrote:
> I have set up a 'downloads' directory on a website, but when I fire up the
> browser and click on the files in it, they open within the browser itself.
> How do I get the 'File Download - Do you want to open or save this file?'
> dialog window to pop up, giving the user the choice of running the file or
> saving it? I've fiddled around with the permissions of both the directory
> and the files themselves, but can't find a setting that works - either the
> user's permission is denied or the file opens in the browser.

Some browsers are broken and need a false mime-type to download a file, so you
need to fiddle with the mime-types on the server, so it sends the "right" type
depending on what file you are serving.

If you are using a good webserver then go to alt.apache.configuration to get
some help, even if it's a bit off topic I'm sure they will help you.

If you are using a crappy one, then call up microsoft support for help.

--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация