Re: [PHP] Remote File download is very slow

2008-08-25 Thread Shiplu
here are the log messages. see the timinings. [2008-08-25 18:09:05.21780900]started downloading in Live_In_Cuba_-_Louder_Than_War.part1.rar [2008-08-25 18:09:05.60409200]Headers Sent POST /files/108041147/1693469/Live_In_Cuba_-_Louder_Than_War.part1.rar HTTP/1.1 Host: rs246tl3.rapidshare.com Conte

Re: [PHP] Remote File download is very slow

2008-08-25 Thread Shiplu
They take same time. let me tell you how my code works. it download a file and in the same time it reports a progress by a call back function. this script is called from web. not console. it provides live debug messages. I'll give you a time wise debug log. -- Blog: http://talk.cmyweb.net/ Follow

Re: [PHP] Remote File download is very slow

2008-08-25 Thread David Otton
2008/8/25 Shiplu <[EMAIL PROTECTED]>: > Nothing works. > I was using curl actually. > It was hell slow. > Then I added the fsockeopen option. > Its slwo too. > now I am thinking to add socket_* functions. > But If dont know what is the problem how can I resolve it. > change scheme may not solve it.

Re: [PHP] Remote File download is very slow

2008-08-25 Thread Shiplu
Nothing works. I was using curl actually. It was hell slow. Then I added the fsockeopen option. Its slwo too. now I am thinking to add socket_* functions. But If dont know what is the problem how can I resolve it. change scheme may not solve it. :( -- Blog: http://talk.cmyweb.net/ Follow me: http

Re: [PHP] Remote File download is very slow

2008-08-25 Thread David Otton
2008/8/25 Shiplu <[EMAIL PROTECTED]>: > Hello folks, > I have written a method to download file from remote server. normally those > fill will be huge in size. from 1MB to 400MB. > I am using fsockopen and curl to download the file. > But the problem is its too slow. > Very very slow. What happen

[PHP] Remote File download is very slow

2008-08-25 Thread Shiplu
Hello folks, I have written a method to download file from remote server. normally those fill will be huge in size. from 1MB to 400MB. I am using fsockopen and curl to download the file. But the problem is its too slow. Very very slow. The code can be found on http://nopaste.info/55817730b3.html I