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.1
user username password

posted on 2009-05-27 16:55  凌度  阅读(780)  评论(0编辑  收藏  举报