[root@bogon ~]# ftp 172.16.1.12 Connected to 172.16.1.12 (172.16.1.12). 220 (vsFTPd 3.0.2) Name (172.16.1.12:root): ftp 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering Passive Mode (172,16,1,12,17,252). 150 Here comes the directory listing. drwxrwxr-x 2 0 0 6 Oct 13 16:10 pub 226 Directory send OK. ftp>
ftp> put anaconda-ks.cfg local: anaconda-ks.cfg remote: anaconda-ks.cfg 227 Entering Passive Mode (172,16,1,12,18,231). 150 Ok to send data. 226 Transfer complete. 1604 bytes sent in 0.000384 secs (4177.08 Kbytes/sec) ftp> ls 227 Entering Passive Mode (172,16,1,12,18,33). 150 Here comes the directory listing. -rw------- 1 14 50 1604 Feb 09 14:27 anaconda-ks.cfg drwxrwxrwx 2 0 0 6 Oct 13 16:10 pub 226 Directory send OK.
[root@bogon ~]# ftp 172.16.1.12 Connected to 172.16.1.12 (172.16.1.12). 220 (vsFTPd 3.0.2) Name (172.16.1.12:root): zx # 服务端本地用户 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> pwd 257 "/var/ftp" ftp> mkdir localuser 257 "/var/ftp/localuser" created ftp> cd localuser 250 Directory successfully changed. ftp> put vmware-install.pl local: vmware-install.pl remote: vmware-install.pl 227 Entering Passive Mode (172,16,1,12,19,125). 150 Ok to send data. 226 Transfer complete. 227024 bytes sent in 0.0738 secs (3074.58 Kbytes/sec) ftp> ls 227 Entering Passive Mode (172,16,1,12,19,119). 150 Here comes the directory listing. -rw-r--r-- 1 1000 1000 227024 Feb 09 14:37 vmware-install.pl 226 Directory send OK. ftp>