W3C home > Mailing lists > Public > www-html@w3.org > January 1999

Re: viewable vs downloadble attachment links

From: <ptorr@vantsys.com.au>
Date: Tue, 12 Jan 1999 08:54:26 +1000
To: "Ravindra Sharma" <rsharma@marketfirst.com>, www-html@w3.org
Message-ID: <4A2566F6.007E5C63.00@melext.vantsys.com.au>



>It I include an attachment link
>
>HREF=http://company.com/docs/word.doc
>
>Browsers launches the Word application and shows the document. So
>I call it a viewable attachment link.

[snip]

>BUT, Is there any way I can allow user to download without putting on
>FTP. I mean using the href=http://... link.

I think that if you use FTP, Word will still open the document. One
work-around is to change the extension of the file, or remove it
altogether. The browser works with "registered file types" to determine
that ".DOC" files can be run with Microsoft Word. If you rename them to
something like ".D_C" (or have no extension at all) then the browser will
not find a matching file type and will ask the user to save the file to
disk.

All you need is a simple simple instruction that tells the user to save the
file with a ".DOC" extension. Whilst this approach will work, it is not
ideal becaue it requires extra work on behalf of the user. You can also get
them to change their settings in Windows Explorer so that they are always
asked whether to open or download Office documents from the web, but this
affects all documents and is even more work for them to do.

Peter
Received on Monday, 11 January 1999 16:55:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:38 GMT