FTP怎么在脚本中自动上传/下载
可以把FTP写到shell脚本中,如 ftp -n -i 主机IP <<EOF user username pass cd 目标目录 put file get file #查询文件 ls #退出 bye EOF