Categorized | PHP

How can i download a file by opening multiple connections to the server using PHP?

Posted on 11 March 2010 by Abidoon

im writing a script to download a file using php and curl. but downloading is just too slow, i want to open multiple connections to the server and download the file (hence accelerate the download). how can i do this ?

Tags | , , , , , ,

One Response to “How can i download a file by opening multiple connections to the server using PHP?”

  1. cristianods says:

    One way you can achieve this is by using fgets and fseek to make the download possible and then merging it all when it’s done.


Leave a Reply