The ftp shell is to auto login to the ftp server and put the file, just an example
ftp -in10.54.143.3 <<EOF
user username password
binary
cd /var/
put abc
quit
ftp shell
原文:https://www.cnblogs.com/zjbfvfv/p/12692472.html