There are many ways to copy the file from one linux box to the other one.
First on the target machine (host: 192.168.12.34, place where the file should be copied to)
netsend -T machine tcp receive > filename.txt
and on the source machine (where the file is located)
netsend -T machine tcp transmit filename.txt 192.168.12.34
scp remoteUser@remoteHost:/home/remoteUser/file.txt ~/file.txt