in reply to Re: File download from BLOB
in thread File download from BLOB
And I get the same error message from Acrobat about the file being damaged. I do notice that the file is larger now than it should be. 14K -> 25K. Any other suggestions?$r->content_type('application/pdf'); $r->err_headers_out->add('Content-disposition' => ("attachment; filena +me=$filename")); my $fh; open($fh,"</var/www/eddie/owner_release.pdf"); binmode $fh; while(<$fh>) { $m->print($_); } close $fh; return;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File download from BLOB
by Eliya (Vicar) on Mar 25, 2011 at 21:34 UTC |