Re: Archive Tar + HTTP_Download problems
| From: | Justin Patrin | Date: | Wed, 22 Sep 2004 16:59:23 +0000 |
| Subject: | Re: Archive Tar + HTTP_Download problems | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14598@lists.php.net to get a copy of this message | ||
On Wed, 22 Sep 2004 15:49:32 +0200, Jeroen Houben <jeroen@terena.nl> wrote:
> Hi,
>
> I'm trying to send a Tar file to the browser. I create it using
> Archive_Tar. I send it using HTTP_Download. No matter what options I
> choose (tar, tgz, bz2) it doesn't work, WinRAR always calls the file
> corrupt. But if I go directly to my Linux server (using Samba) I can
> open the gerenated file just fine. Note that I am *not* using
> ob_gzhandler or zlib.output_compression.
>
Try opening the file in Notepad on the Windows client. There may be
notices or warnings in it from PHP. These get written as if they're
part of tha tar file.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--