tftpd Windows与Linux IPC 互传文件

来源:互联网 发布:淘宝权重的因素 编辑:程序博客网 时间:2024/06/17 15:40

1、不同的IPC的busybox不一样,所装的tftpd命令格式要求也不同

在IPC上键入

#tftp

#BusyBox v1.16.1 (2013-03-15 13:06:49 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
        -l FILE Local FILE //表示本地文件传输
        -r FILE Remote FILE //表示远程文件传输
        -g      Get file //获取文件
        -p      Put file //输出文件
        -b SIZE Transfer blocks of SIZE octets //以八字节大小为单位设置传输大小

由于要与windows PC进行远程文件传输,选中-r

2、设置windows上的tftpd,需要tftpd32.exe



3、把文件放到windows目录下,在IPC中输入

#tftp -r <文件名> -g <Windows PC IP 地址>

例如: # tftpd -r helloworld -g 192.168.99.111

windows 从IPC中获取文件

#cd <文件所在目录>

#tftpd -l <文件名>  -p <Windows PC IP地址>


4、Done!

0 0
原创粉丝点击