> -----Original Message----- > From: Shannon Murdoch [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 2:29 AM > To: [EMAIL PROTECTED] > Subject: Re: Auto-initialising a client-side download > > ... > I changed the header type to application/vnd.ms-excel which > auto-saves the > file as an Excel document (practically guaranteed to be on > most doctorate > student's computers, who this site is for). So far it's > worked great, even > if the PC hasn't got MS Excel.
Just to throw in my $0.02 on this long topic. W3C suggests that clients always show a "Save As..." dialog for the type application/octet-stream. Or, you can use the widely-supported Content-Disposition: attachement header. MSIE does support this header, but you can get some strange interactions with Windows. For example, if you tell Windows you want to "Confirm Open after Download", *and* the server sends the Content-Disposition: attachment header, You will be prompted TWICE with the "Open or Save" dialog. c.f. http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]