cent os 下的脚本是:lftp -c "open 192.168.22.1;user ftpusername ftppassword;put a_linux;put LinuxBuild.txt;exit"
很多linux可以使用以下脚本:
ftp -i -in <<!open 192.168.22.1user username password