[8602] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: File Types

daemon@ATHENA.MIT.EDU (Brian Behlendorf)
Fri Jul 14 17:08:04 1995

Date: Fri, 14 Jul 1995 13:19:01 -0700 (PDT)
From: Brian Behlendorf <brian@organic.com>
To: Eric Hausgaard <eric@unix2.nysed.gov>
Cc: Multiple recipients of list <www-talk@www19.w3.org>
In-Reply-To: <Pine.PCW.3.91.950714085949.9071B-100000@dos482.nysed.gov>
Resent-From: www-talk@www10.w3.org

On Fri, 14 Jul 1995, Eric Hausgaard wrote:
> How can I make a file forced to donload instead of viewing it.
> 
> For example, If I had a WordPerfect 5.1 file and I put it on the Web. I 
> want it downloaded instead of viewed so that the client won't see the 
> funky graphic characters that WP puts in their documents. I want it 
> (optionally) to be saved to my disk (DL) just by clicking on it (like 
> *.ZIP files).

I think what you really want to do on the server side is make sure the 
wordperfect files have a MIME type like

application/x-wordperfect

or something like that (anyone?)  Most servers let you customize this 
Content-type based on filename extensions.  This will allow those who 
have Wordperfect and their web browser configured correctly to have the 
web browser immediately call up the application, and the others will br 
prompted to save it.  HTML browsers will (should!) only try and render 
data with a Content-type of text/html or text/plain.

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/


home help back first fref pref prev next nref lref last post