(I posted this to comp.infosystems.www.browsers.misc but there seems to
be very little traffic there. I can't see another suitable group; is it
on topic here? If not, any suggestions as to where?)
I'm coding an application which serves out files for download via HTTP.
I can provide the file name thus
Content-Disposition:attachment;filename="somename.dat"
I read in RFC2183 that I should be able to supply the modification date
in that same header, like this
Content-Disposition:attachment;filename="somename.dat";mod ification-date="01
Jan 2006 12:34:56 +0000"
.... but I've tried coding that and either I'm making a mistake in the
coding or it's not having the desired effect (using Firefox 1.0.7 and
IE6): the file is saved with the current date and time. I also tried
the HTTP header
Last-Modified: Fri, 31 Dec 1999 23:59:59 GMT
.... but I'm pretty sure that the information in there is for HTTP
caching and not for anything to do with downloaded content.
Can anyone help me with coding this correctly? (The page is generated
by a Perl CGI script, not that that is relevant to the header content).
--
Henry Law <>< Manchester, England