1. Tftp介绍 TFTP简介 TFTP(Trivial File Transfer Protocol,简单文件传输协议)是TCP/IP协议族中的一个用来在客户机与服务器之间进行简单文件传输的协议,提供不复杂、开销不大的文件传输服务。TFTP承载在UDP上,提供不可靠的数据流传输服务,不提供存取授权与认证机制,使用超时重传方式来保证数据的到达。与FTP相比,TFTP的大小要小的多。现在最普遍使用的是第二版TFTP(TFTP Version 2,RFC1350).
a.安装 C:\WINNT\system32>instsrv system %windir%\system32\tftpd.exe instsrv system %windir%\system32\tftpd.exe
The service was successfuly added! Make sure that you go into the Control Panel and use the Services applet to change the Account Name and Password that this newly installed service will use
b.查询 C:\WINNT\system32>sc qc system sc qc system [SC] GetServiceConfig SUCCESS SERVICE_NAME: system TYPE : 10 WIN32_OWN_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\WINNT\system32\tftpd.exe LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : system DEPENDENCIES : SERVICE_START_NAME : LocalSystem c.启动 C:\WINNT\system32>net start system net start system system 服务正在启动 . system 服务已经启动成功。
C:\WINNT\system32>tftp -i 218.11.x.67 put fp.exe tftp -i 218.11.140.67 put fp.exe Transfer successful: 52736 bytes in 1 second, 52736 bytes/s //上面是上传到服务器。