View Single Post
Old 07-26-2010   #3
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default

On the server where you have SSH access
Put the website in a tar file:
Code:
tar -czvf /tmp/webisteFile.tar /var/www/websiteFolder/


On the server where you have FTP access
Upload the websiteFile.tar and the create a php script with the following content:
Code:
<?php
system("tar -xf websiteFile.tar");
echo "finished!";
?>

Put this script in the same directory as where you uploaded the tar file, and then execute it by accessing it through the web browser.

__________________


Last edited by Google; 07-27-2010 at 01:44 AM.
Google is offline   Reply With Quote