How to Transfer Files from one Linux Box to Another Server Using SCP

Copy an entire directory from one server to another recursively:

From Local to Remote

 scp -r FOLDER_FROM_LOCAL USERNAME@SERVER:/var/www/REMOTEFOLDER

From remote to local

scp -r USERNAME@SERVER:/path/to/REMOTEFOLDER /var/www/LOCALFOLDER
or to current folder
scp -r USERNAME@SERVER:/path/to/REMOTEFOLDER  .

Useful Web sites
http://www.hypexr.org/linux_scp_help.php