Ever stuck in downloading backup from one server and uploading hefty files again to another server?
Don’t worry! you can save your time by simply putting this code.. which i am about to tell you all which will save your BADASS time.
For example you have one zip file on your server which you want to move to another server. All you need to do is
Create a new file upload_task.php
Add below code in it
<? php> file_put_contents("Tmpfile.zip", fopen("http://example.com/myfile.zip", 'r')); ?>
Just hit this url and you are done uploading file from one server to another.