W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1997

Re: Include file name when sending a binary file

From: Steven Champeon <schampeo@hesketh.com>
Date: Mon, 08 Sep 1997 20:26:51 -0400
Message-Id: <>
To: Jeff Willden <jwillden@cc.weber.edu>, www-talk@w3.org
At 04:27 PM 9/8/97 -0600, Jeff Willden graced us with:
> When this happens, the browser saves the file to disk unless the user
> has defined a helper application for this content-type.  But the default
> file name is the name of the cgi.  Can a client-side default filename be
> specified in the http header?

Try this. 

Content-Disposition: inline; filename=filename.ext
Content-Length: [real length]
Content-Type: content/type

File contents begin here.


Steven Champeon                  | It is very dark. You are
http://www.hesketh.com/schampeo/ | likely to be eaten by a grue.
http://www.jaundicedeye.com      |           - Zork
Received on Monday, 8 September 1997 20:28:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:00 UTC