Centos上, 使用ftp-client 连接 小米手机开放的FTP-SERVER

另一篇可以看这里

# 安装 命令行 ftp-client
root@sanchez:ljw$ yum search ftp|grep client
root@sanchez:ljw$ yum install ftp.x86_64

# 使用ftp-client 连接FTP服务器
# 格式: ftp server-name/ip port(我google了半天... https://listman.redhat.com/archives/redhat-install-list/2003-March/msg00670.html)
# 连进去以后, 需要输入 连接用的用户民和密码
root@sanchez:ljw$ ftp 192.168.31.59 2121
Connected to 192.168.31.59 (192.168.31.59).
220 SwiFTP 4.1.8 ready
Name (192.168.31.59:root): lijunwei
331 Send password
Password:
230 Access granted
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> help
Commands may be abbreviated. Commands are:

! debug mdir sendport site
$ dir mget put size
account disconnect mkdir pwd status
append exit mls quit struct
ascii form mode quote system
bell get modtime recv sunique
binary glob mput reget tenex
bye hash newer rstatus tick
case help nmap rhelp trace
cd idle nlist rename type
cdup image ntrans reset user
chmod lcd open restart umask
close ls prompt rmdir verbose
cr macdef passive runique ?
delete mdelete proxy send

 

原文地址:https://www.cnblogs.com/leejunwei/p/centos-ftp-client.html