Re: HTTP_Download to track amount of bytes downloaded help
| From: | Ken | Date: | Thu, 17 Mar 2005 13:29:17 +0000 |
| Subject: | Re: HTTP_Download to track amount of bytes downloaded help | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18112@lists.php.net to get a copy of this message | ||
---------- Forwarded message ----------
From: Ken <kenkam@gmail.com>
Date: Thu, 17 Mar 2005 14:28:59 +0100
Subject: Re: [PEAR] Re: HTTP_Download to track amount of bytes downloaded help
To: mike@iworks.at
Thanks... that seems to have fixed it :D
i forgot i used a file that was non-existant for testing :D
I am looking forward to the sendBytes feature in v1.1 :D
Thanks again
Ken
On Thu, 17 Mar 2005 14:19:48 +0100, Michael Wallner <mike@php.net> wrote:
> Hi Ken, you wrote:
>
> > And after I refresh the page:
> > ***********************************************
> > http://localhost/?item=repository&cat=2
> >
> > GET /?item=repository&cat=2 HTTP/1.1
>
> Ok, FF tries to get the previous page if you hit refresh, so you'd
> need to check what's going wrong there.
>
> > x-sent-by: PEAR::HTTP::Download
> > content-disposition: attachment; filename="KPM1.avi"
> > Etag: "2063849717d32dd19e534b77cabac517--856247520"
> > Content-Length: 0
>
> 0 as content length seems odd, is the file empty, does it exist?
> Did you check that the downloaded file is correct?
>
> Regards,
> --
> Michael - < mike(@)php.net >
>
>
>