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

Include file name when sending a binary file

From: Jeff Willden <jwillden@cc.weber.edu>
Date: Mon, 08 Sep 1997 16:27:40 -0600
To: www-talk@w3.org
Message-id: <34147BC8.CECAAED8@cc.weber.edu>
I'm developing a bulletin board which accepts binary submissions via the
form file-upload capability.  When the file is downloaded from the cgi
which sends the requested file, the Content-type is
"application/octet-stream" (is there another better for sending binary

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?

Jeff Willden
Received on Monday, 8 September 1997 18:27:03 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:22 UTC