ftp常用命令
常用命令:
open host [port]
登录
mkdir dir
新建文件夹
rmdir dir
删除文件夹,该文件夹必须为空
append local_file
上传文件
send local_file
put local_file
mput local_file1 local_file2 …
批量上传文件
get remote_file
下载文件
recv remote_file
mget remote_file1 remote_file2 …
批量下载文件
delete remote_file
删除文件
mdelete remote_file1 remote_file2 …
批量删除文件
cd
更改所在文件夹
pwd
显示当前文件夹