#! /bin/bashftp -n << END_FTPopen 192.168.1.22user test testing //用户名test 密码:testingbinaryprompt off //关闭提示mput files //上传files文件closebyeEND_FTP