how to send one file to another server code example
Example: copy files between servers
scp -r username@server_ip:/path_to_source_directory/* usdername@server_ip:/
path_to_the_destination_directory/
scp -r username@server_ip:/path_to_source_directory/* usdername@server_ip:/
path_to_the_destination_directory/