Windows与Linux服务器传文件
1. 下载
2. 安装
3. 使用
# 1.Linux服务器向windows传输文件
# Windows上命令如下
nc -l -p {port} > file.log
# Linux服务器命令如下
nc {Windows IP} {port} < file.log
# 这样就把Linux上的file.log文件原封不动的传输到Windows本地上了。
# 2.Windows向Linux服务器传输文件,只需要把上面的两个箭头 > 和 < 反过来写就行了。Last updated