ok,almost all problems are solved now with the help of
nixCraft - Linux sys admin blog by Vivek
But I need 1 and only last help
I need to execute this command using PHP FILE
Code:
rsync -v -e ssh user@remoteserver.com:~/back/file.tar.gz /home/user/www/1
What this code will do is :
This will download a file called file.tar.gz from a remote server,remoteserver.com and will save it into /home/user/www/1
I checked this command via putty and is working.
But I need to add this command to a php file so that when a php file called download.php will execute, then this code must be executed.
How to do that ?
Any idea ?
Thanks