Re: Timeout while waiting for a server->client transfer to start (large files)

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

 



Well thanks again,

but I already know what the problem is, it is the response headers being added to the ouput file. I just tried with a different code and it seems to output the file ok, so i must be going wrong somewhere in the order in which i output headers and so on.

i'm gonna keep working on it, i think i have to start from scratch though to see where i made the mistake exactly.

:)

On Mon, 04 Feb 2008 21:13:42 -0000, Richard Lynch <ceo@xxxxxxxxx> wrote:

On Fri, February 1, 2008 7:45 pm, szalinski wrote:
On Thu, 31 Jan 2008 07:13:55 -0000, Per Jessen <per@xxxxxxxxxxxx>
wrote:
Well I got it to work, much thanks to Richard Lynch, but now everytime
I
download a file, it is corrupt. For example, when I download small
.rar
file, just to test, it is always corrupt ('Unexpected end of
archive'). I
also cleared my browser cache just to be sure, but same problem.

Here is the code as it stands. I just can't get my head around why it
wouldn't be working as it is...

Open the file you download with a text or hex editor.

Compare to the original.

If you can't spot the problem right off, download the original with
FTP and use "diff" to compare the two.

Or, if you don't have "diff", upload the broken download with FTP and
use "diff" on the server.

If it's OK on the server, and not coming out OK in the download,
figure out what's different between the two.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux