自动FTP脚本

#!/usr/bin/ksh

cd /csps/cdex/rpt/

ftp -inv <<!

open 22.188.XXX.XX

user dcds dcds123

cd /dcds/data/receive/51/ctr06/

ascii

prompt off

put 5100006D.ACM 5100006D.ACM.now

rename 5100006D.ACM.now 5100006D.ACM

quit

!

 

 

你可能感兴趣的:(职场,休闲,ftp自动脚本)