W3C home > Mailing lists > Public > www-talk@w3.org > July to August 1995

Re: File Types

From: Brian Behlendorf <brian@organic.com>
Date: Fri, 14 Jul 1995 13:19:01 -0700 (PDT)
To: Eric Hausgaard <eric@unix2.nysed.gov>
Cc: Multiple recipients of list <www-talk@www19.w3.org>
Message-Id: <Pine.3.89.9507141338.C29783-0100000@eat.organic.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:17 GMT