加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

如何从命令提示符列出Windows tftp服务器目录和文件?

发布时间:2020-12-14 01:43:36 所属栏目:Windows 来源:网络整理
导读:我已在 Windows 7中安装了Tftpd32软件.我在我的Windows PC上运行tftp服务器和tftp主目录有几个目录和文件.我必须从Windows命令提示符显示tftp服务器目录和文件?如何显示tftp服务器目录和文件夹? C:Usersuser1tftpTransfers files to and from a remote c
我已在 Windows 7中安装了Tftpd32软件.我在我的Windows PC上运行tftp服务器和tftp主目录有几个目录和文件.我必须从Windows命令提示符显示tftp服务器目录和文件?如何显示tftp服务器目录和文件夹?
C:Usersuser1>tftp

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.


C:Usersuser1>
TFTP是一种最小文件传输协议,不提供列出远程文件的子命令.

但是Tftpd32有一个解决方法,它可以为您正在访问的目录创建一个“dir.txt”文件.在Tftpd32的TFTP设置中启用the option.现在,当TFTP客户端请求“dir.txt”文件时,服务器将生成并发送一个列出基本目录内容的文件.

如果要使用更高级的功能,则必须使用FTP.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读