ftp> lcd /var/www/sss 上传文件的地址
还一种上传方式
ftp> passive
Passive mode off.
ftp> passive
Passive mode on.
ftp> passive
Passive mode off.
上传文件
ftp> put z.txt
local: z.txt remote: z.txt
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 Transfer complete.
26 bytes sent in 4e-05 secs (650.00 Kbytes/sec)