This is the relevant part of my handler for a link that I want to force
a download for. I know it's content-disposition but for some reason I
can not get it to actually download the file. I get the download dialog
and I choose the location to save it but when I open the document it is
empty. I've t
> $r->headers_out->set('Content-Disposition' =>
> "attachment;filename=$downloadFilename");
try
$r->headers_out->set('Content-Disposition' => ' inline;
filename=$downloadFilename');
> $r->send_fd($fileFH);
> $r->send_http_header();
those definitely need to be reversed - you need to send the
asn't able to open a file...
> -Original Message-
> From: John N. Brahy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 02, 2006 10:46 AM
> To: modperl@perl.apache.org
> Subject: Content Disposition header and file contents sequence...
>
> This is the relevan