Re: File Types

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/

Received on Friday, 14 July 1995 17:00:56 UTC