|
Posted by Barry on 02/06/06 14:30
Hi
I am having trouble downloading documents saved in a blob.
I get the correct data from the database.
The original size saved in the table then equals the strlen of
the file content retrieved from the db, so I'm pretty confident
that I do get all of the data.
I set the following headers:
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-type: $type");
header("Content-length: $size");
header("Content-Disposition: attachment; filename=$name");
and then I do a:
echo($content);
This all works fine, for small files. When I have larger file (50KB +),
the downloads stop short, resulting in incomplete downloads.
Why could this be happening.
Please help I'm getting very frustrated.
Thanks
Barry
[Back to original message]
|