[love@localhost x86_64-linux]$ ftp 192.168.1.1
Connected to 192.168.1.1 (192.168.1.1).
220 (vsFTPd 3.0.2)
Name (192.168.1.1:love): love
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 (192,168,1,1,82,113).
150 Here comes the directory listing.
drwxr-xr-x 5 ftp ftp 4096 Oct 09 02:19 packages
drwxr-xr-x 2 ftp ftp 4096 Sep 24 04:12 tools
226 Directory send OK.
ftp> cd packages
250 Directory successfully changed.
ftp> mkdir 20201012
257 "/packages/20201012" created
ftp> cd 20201012
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (192,168,1,1,82,109).
150 Here comes the directory listing.
226 Directory send OK.
ftp> put test.txt
local: test.txt remote: test.txt
227 Entering Passive Mode (192,168,1,1,82,113).
150 Ok to send data.
226 Transfer complete.
316438272 bytes sent in 26.7 secs (11869.86 Kbytes/sec)
ftp>
删除是使用delete命令。