Skip to content

Instantly share code, notes, and snippets.

@ManiruzzamanAkash
Last active November 2, 2019 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ManiruzzamanAkash/db72dd9eba0bfef5f1452033e0a89882 to your computer and use it in GitHub Desktop.
Save ManiruzzamanAkash/db72dd9eba0bfef5f1452033e0a89882 to your computer and use it in GitHub Desktop.
File Transfer Command / PHP Code one server to another server Live
<?php
// In Server 2 make a file download.php and then paste the code,
// here file_url means the server 1's zip file URL
// run/browse download.php like,
// http://domain_server2.com/download.php
file_put_contents("download.zip", fopen("file_url", 'r'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment