ser2net,socat,netcat

use nc to copy files. when scp or ftp is not avaiable, it could quite useful

on the sever side(receiver):

nc -l -p 50000 > ~/test/log

on the client side(sender):

 nc -w 3 128.224.162.182 50000 < log

 see more detail, man nc.

http://nakkaya.com/2009/04/15/using-netcat-for-file-transfers/

http://techtinkering.com/2013/04/02/connecting-to-a-remote-serial-port-over-tcpip/

http://technostuff.blogspot.com/2008/10/some-useful-socat-commands.html

發佈了55 篇原創文章 · 獲贊 4 · 訪問量 6萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章