SCP is a very basic command that use to copy files between two systems securely. Basic command is like this;
scp /local/file/goingto.copy remoteuser@remotehost:/remote/location/
I want to copy a file called 'mydoc.txt' in my home directory to a web folder in web server. That will be like;
scp /home/thilina/documents/mydoc.txt webuser@websvr:/var/www/html/
Think that you need to copy a hole directory to some other place using this. You only need to add a '-r' to the previous command.
scp -r /home/thilina/documents/ webuser@websvr:/var/www/html/