Re: Monitoring download, detecting completion?

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

 



On 3/9/07, Skip Evans <skip@xxxxxxxxxxxxxxxxx> wrote:

Hi Tijnema,

To be clear, this can work for the client
downloading say a music (mp3) file from the server
to their local hard drive? If so, that would be
great, but I just want to be clear I spelled out
the issue properly.

Thanks tons!
Skip


I'm sorry, i thought you meant you wanted to transfer from 1 server to your
own server.
With this i can't help you any further i think, The code posted by Nicholas
Yim isn't very succesfull too i think as it only shows you when the server
outputted the last piece of the file to the client, but that is NOT the same
as when download is completed.

I don't know if it is even possible in PHP, as i don't have a way to do it
now.

Tijnema

Tijnema ! wrote:
> Hi,
>
> I think that cURL would do the job, starting the transfer with
> curl_init ,curl_setopt and curl_exec
> then you can get the info about the download with curl_getinfo
> Also take a look at the other curl functions, and have a look at the
> curl_setopt function page, as there are a lot of options that can be
set.
> cURL: http://www.php.net/curl
>
> Hope this is what you need.
>
> Tijnema
>
>
> On 3/8/07, Skip Evans <skip@xxxxxxxxxxxxxxxxx> wrote:
>>
>> Hey all,
>>
>> I have a need to monitor a download from the
>> server to the client's machine.
>>
>> I'm not familiar with any mechanisms for doing so.
>>
>> If anyone has any hints to point me towards I'll
>> get a' researching.
>> --
>> Skip Evans
>> Big Sky Penguin, LLC
>> 61 W Broadway
>> Butte, Montana 59701
>> 406-782-2240
>> http://bigskypenguin.com
>> =-=-=-=-=-=-=-=-=-=
>> Check out PHPenguin, a lightweight and
>> versatile PHP/MySQL development framework.
>> http://phpenguin.bigskypenguin.com/
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>

--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and
versatile PHP/MySQL development framework.
http://phpenguin.bigskypenguin.com/


[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