scp a folder | Copy folder from local to remote

When copying a directory or tar or zip , you should use the -r option:

scp -r /path/to/file_destination root@IP:/path/to/file