Linux下FTP和TFTP服务配置(2)

udp        0      0 0.0.0.0:772                0.0.0.0:*                              1868/rpc.statd     

udp        0      0 0.0.0.0:775                0.0.0.0:*                              1868/rpc.statd     

udp        0      0 0.0.0.0:69                  0.0.0.0:*                              3869/xinetd       

(篇幅原因,有省略……)

从远程服务器启动连接,笔者从windows环境客户端启动。TFTP是可以不输入用户名和密码的,所以对于安全文件传输是不满足的。

C:\Documents and Settings\liuzy>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:\Documents and Settings\liuzy>tftp 192.168.0.100 put cogtrwin.ini

Transfer successful: 536 bytes in 1 second, 536 bytes/s

[root@SimpleLinuxUp tftpboot]# ls -l

total 12

-rw-rw-rw- 1 nobody nobody  507 Jan 28 10:39 cogtrwin.ini

drwxrwxrwx 4 root  root  4096 Dec 26 09:46 linux-install

D:\>tftp 192.168.0.100 get cogtrwin.ini

Transfer successful: 536 bytes in 1 second, 536 bytes/s

TFTP是一种简单的文件传输解决方案。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/3d2f791244649c9872a9d876493502fe.html