Today I came across a system called as piping server. The beauty of this technology is you can transfer any file between the devices using simple commands such as curl. If you are ubuntu or any other linux user, the files that you want to transfer from machine A to machine B involves the following simple commands.
Suppose in 'A' you have a file called as mandel1.jpg and you need to transfer that to 'B' then simply go to the terminal in A and type:
$ curl -T mandel1.jpg https://ppng.io/mandel1
[The following will prompt in your terminal @ A]
[INFO] Waiting for 1 receiver(s)...
Then go to terminal 'B' and type:
sutripa@amrit:~$ curl https://ppng.io/mandel1 > mandel1.jpg
You will get the following prompt @B
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 137 100 137 0 0 2 0 0:01:08 0:01:06 0:00:02 33
Then finally do an ls at B
you will see the file you have transferred e.g; mandel1.jpg.
Transferring directories between devices is also pretty easy using this server.
At the sending server just do a
$tar zfcp - ./QC | curl -T - https://ppng.io/such
or if you want to compress using zip do the following:
$zip -q -r - ./QC | curl -T - https://ppng.io/such
At the receiving server do a
sutripa@amrit:~$ curl https://ppng.io/such > QC
Then you will see
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 855k 0 855k 0 0 60467 0 --:--:-- 0:00:14 --:--:-- 216k
Directory transferred.
For more information check this link out:
https://ostechnix.com/transfer-files-between-any-devices-using-piping-server/