skip to Main Content

PHP Download Archive file from URL

How to Download Archive file from URL using PHP. It’s Very easy tricks to download archive file from server or URL. We are using download file_put_content the file. just used below code for the download file.

Using this code you can transfer file server to server without download. you can transfer your project from one server to another server without download file and without wasting time on download and upload the file. using this trick you can transfer around 21GB file from one server to another server.

file_put_contents("", fopen("", 'r'));

If you face any problem after using this code please write a comment.


I am a web designer and developer part-time blogger. Write something on some free time. Find my every day thought here :)

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top