(OK) netcat transfer file to android from fedora23
Server (fedora23)
[root@localhost 桌面]# pwd
/root/桌面
[root@localhost 桌面]# ls cm-browser5-20-38.apk
[root@localhost 桌面]# ls
chrome51.apk
chrome51.apk
[root@localhost 桌面]#
iptables -I INPUT -p tcp --dport 12123 -j ACCEPT
iptables -D INPUT -p tcp --dport 12123 -j ACCEPT
nc -l 12123 < chrome51.apk
Client (android)
nc 10.108.162.164 12123 > chrome51.apk
Client (fedora/linux)
nc -n 10.108.162.164 12123 > chrome51.apk