我已在
Windows 7中安装了Tftpd32软件.我在我的Windows PC上运行tftp服务器和tftp主目录有几个目录和文件.我必须从Windows命令提示符显示tftp服务器目录和文件?如何显示tftp服务器目录和文件夹?
C:\Users\user1>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:\Users\user1>
TFTP是一种最小文件传输协议,不提供列出远程文件的子命令.
但是Tftpd32有一个解决方法,它可以为您正在访问的目录创建一个“dir.txt”文件.在Tftpd32的TFTP设置中启用the option.现在,当TFTP客户端请求“dir.txt”文件时,服务器将生成并发送一个列出基本目录内容的文件.
如果要使用更高级的功能,则必须使用FTP.