[Xitami] targeting file downloads

Marc Doigny xitami@lists.xitami.org
Thu, 02 Jun 2005 08:43:37 +0200


Hello !

The only way you could force the browser not trying to display the file is 
to change the MIME type of the file.

Change the association from "video/mpeg" to "application/octet-stream"
The visitor will be prompted to "run from current location" or "save".

Since the extension is still mpg, when the user opens the file, it plays 
from the local storage.

I'm not sure if it will work, but it's the only possibility.


marc

-------------------------------------------------------------------------
--::Mailserver Verfaillie Bauwens::-- contact : postmaster@verfaillie.com
Alle mails gecontroleerd op virussen. Virusdefinities dagelijks aangepast
----------------------- http://www.verfaillie.com -----------------------