Copy file from server to local and local system to server on ubuntu by command

Ubuntu Desktop

Posted on 19 Apr 15 by Vickey
  601



By command we can copy file from server to local and from local to server. here i am using ubuntu terminal for copy files

1 Copy from server to local

ubuntu@ubuntu-HP-2000-Notebook-PC:~$ scp root@192.168.10.00:/var/www/html/demo.zip.tmp /var/www

in this command first i give file location on server and then directory path of local system where i want to download file

2. Copy files from local to server

ubuntu@ubuntu-HP-2000-Notebook-PC:/var/www$ scp demo.zip.tmp root@192.168.10.00:/var/www/html


If this post help you reduce time to develop, you can help me to maintain this website :)
www.000webhost.com