You are here: Re: How do I go to Download dialog? « HTML « IT news, forums, messages
Re: How do I go to Download dialog?

Posted by kdarling on 10/17/06 22:09

Paul Jones wrote:
> I have a download button on my website where the user can choose to
> download an MP3 file. How do I take the user to the standard "Save As"
> dialog in XP rather than to play the MP3 (which is all I've managed to
> do thus far)? If possible, I'd rather avoid asking the user to
> right-click over the button and choose "Save Target As".

If you can change the HTTP settings on the server, set the Content-Type
in the reply header to be "application/octet-stream". Most browsers
will then give the user the chance of saving it.

Kev

 

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

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