Assuming its between 2 linux computers and you can ssh between them, then you can use scp to copy files from one to the other. The actual commands are (depending on if its one file or a directory --- check the man page for scp/ssh):
Single file transferred from computer you are currently on to remote computer:
scp file_name ip_addy_remote_computer:/home/your_home_dir
Recursive directory transfer from computer you are on to remote computer:
scp -r folder_name ip_addy_remote_computer:/your_home_dir
Single file transfer from remote computer to computer you are on:
scp ip_addy_remote_computer:/home/home_folder_name/filename /home/local_computer_home_folder_name
similar for recursive copy too, just add the -r and the folder name on the remote computer.