LISTEN ON PORT 5555 OF TARGET SERVER FOR RECEIVE THE file.dat
nc -l 5555 > file.dat
SEND THE file.dat
FROM THE SOURCE SERVER to TARGET SERVER
apt install pv
pv file.dat | nc server_target_ip 5555
LISTEN ON PORT 5555 OF TARGET SERVER FOR RECEIVE THE file.dat
nc -l 5555 > file.dat
SEND THE file.dat
FROM THE SOURCE SERVER to TARGET SERVER
apt install pv
pv file.dat | nc server_target_ip 5555