USE SCP to transfer folders / sub folders to server

Manager's picture

To copy folders to the server use scp

scp -r folder-name user-name@IP.Add.re.es.s:public_html

will copy the folder and contents to public_html/folder-name

contents in the folder-name on the server will be added to from contents of your local folder