YaSSeR asked:
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 ?
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 ?


1 Comment to 'How can i download a file by opening multiple connections to the server using PHP?'
September 16, 2009
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 comment