I want to send data from a machine running Linux to another Linux. For example, I have Linux server (RPI3, called 'a'), and another server called 'b'. So I want to send data from 'a' to 'b', can you tell me the methods?
To send files from a to b, you can use scp protocol. a and b have to be in the same network.
scp sourcedirectory/image.jpg username@IPaddressOfTheDestination:targetdirectory/
There are obviously another way to send file like the protocol ftp.