Samantha S. Ollinger on Fri, 21 Mar 2003 18:12:15 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Update: php prob: downloads empty file


I renamed the file to no avail. I also noticed this:
On the original file ls -al reveals:
-rw-r-x---   1 sam    music 136179229 Aug 16  2002 so.tar.gz

on the downloaded file:
-rw-------   1 sollinge staff 136179296 Mar 21 17:28 so.tar.gz

Is there any reason for the change in the numbers(besides the dates)? I
also added this in hoping it wouldn't get transferred as ASCII:
header("Content-transfer-encoding: binary\n");

There was no change.

Samantha

On Fri, 21 Mar 2003, gabriel rosenkoetter wrote:
> > SS/so.tgz:      gzip compressed data - deflate method
> >
> > After downloading it says:
> > so.tgz: data
>
> One end of the connection (probably the server) is matching with the
> wrong mime type and transfering as ASCII what needs to be binary.
>
> Try renaming the file so.tar.gz and see if it still happens.
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug