使用命令行连接ftp服务器
- ftp端口是默认的21端口时
格式: ftp 服务器IP地址
[root@uhwlgegh1v326i ~]# ftp 172.31.0.15
Connected to 172.31.0.15 (172.31.0.15).
220 (vsFTPd 3.0.2)
Name (172.31.0.15:root): linchunpeng # 账号
331 Please specify the password. # 密码
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
- 使用指定端口连接ftp服务器
格式: ftp
open 服务器IP 端口
[root@uhwlgegh1v326i ~]# ftp
ftp> open 172.31.0.15 21
Connected to 172.31.0.15 (172.31.0.15).
220 (vsFTPd 3.0.2)
Name (172.31.0.15:root): linchunpeng
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
