Linux下自动FTP脚本

前面写了一个Windows下自动FTP的脚本:

http://bladelogic.iteye.com/blog/1709463

 

今天新增Linux下的简单脚本,还待优化

 

#!/bin/sh
lftp 10.12.132.53 <<EOF
login user1 password1
cd subdir
put file1 file2 file3
exit
EOF
 

已有 0 人发表留言,猛击->> 这里<<-参与讨论


ITeye推荐
  • —软件人才免语言低担保 赴美带薪读研!—



你可能感兴趣的:(linux,ftp,脚本)