Re: Include file name when sending a binary file

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.

HTH,
Steve


--
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