Blog from the Loft

Thoughts without walls

Blog from the Loft header image 4

Specifying downloaded filenames for cgi

December 3rd, 2001 · No Comments · technology

came across this today — if a website presents a file for download dynamically,
some browser will use the end of the URL as the download file name. However,
you may be able to set a HTTP header as follows:

Content-Disposition: attachment; filename=”filename.ext”

and see if the browser will use the named filename instead.

[Read more →]

Tags: