<bzkyz>sys
System View: return to User View with Ctrl+Z.
[bzkyz]ftp ser
[bzkyz]ftp server enable
% FTP server has been started
[bzkyz]lo
[bzkyz]local-us
[bzkyz]local-user ftp
New local user added.
[bzkyz-luser-ftp]pass
[bzkyz-luser-ftp]password s
[bzkyz-luser-ftp]password simple ftp
[bzkyz-luser-ftp]ser
[bzkyz-luser-ftp]service-type f
[bzkyz-luser-ftp]service-type ftp
[bzkyz-luser-ftp]
客户端:
C:Usersavenjan>ftp 192.168.1.254
连接到 192.168.1.254。
220 FTP service ready.
530 Please login with USER and PASS.
用户(192.168.1.254:(none)): ftp
331 Password required for ftp.
密码:
230 User logged in.
ftp> dir
200 Port command okay.
150 Opening ASCII mode data connection for *.
-rwxrwxrwx 1 noone nogroup 5336313 Oct 10 2002 system
-rwxrwxrwx 1 noone nogroup 1093929 Oct 10 2002 http.zip
-rwxrwxrwx 1 noone nogroup 6438 Oct 09 16:18 config.cfg
226 Transfer complete.
ftp: 收到 198 字节,用时 0.01秒 14.14千字节/秒。
ftp> get config.cfg
200 Port command okay.
150 Opening ASCII mode data connection for config.cfg.
226 Transfer complete.
ftp: 收到 6438 字节,用时 0.02秒 357.67千字节/秒。
ftp> get http.zip
200 Port command okay.
150 Opening ASCII mode data connection for http.zip.
226 Transfer complete.
ftp: 收到 1093929 字节,用时 3.30秒 331.39千字节/秒。
ftp> get system
200 Port command okay.
150 Opening ASCII mode data connection for system.
226 Transfer complete.
ftp: 收到 5336313 字节,用时 17.43秒 306.19千字节/秒。
ftp>
上传文件命令:
ftp> put aaa.bin bbb.bin
© 版权声明
THE END
暂无评论内容