ftp.xml 脚本简述
时间:2007-11-21 来源:Nevins-su
<?xml version="1.0" encoding="utf-8"?>
<global>
<ftpconfig>
<name>1</name> 名称
<method>put</method> 传送
<host value="211.99.×××.×××"> 目标服务器ip
<user>logbak</user> 用户名称
<password>log^123</password> 密码
<remotepath>/data1/log/bosslog/BOSSRESEND</remotepath> 传送的路径
</host>
<localpath recursive="no">/data1/log/bosslog/BOSSRESEND</localpath>本地传输日志路径
<filepattern value="include">RESEND.*\..*$</filepattern>通配符
<backuppath>/data1/boss-baklog/bossresend</backuppath> 备份路径
<actionfile>./info/oc4j.info</actionfile> 修改info文件 .*代表 * /.代表 /
<rename value="false"/>
<transmode value="bin"/>
<datamode value="active"/>
<increasefilename value="false"/>
<!--<timeout value="3600"/> -->
<retrytimes value="10"/>
<monitorinterval value="1000"/>
<delaytranstime>500</delaytranstime>
</ftpconfig>
<ftpconfig>
<name>2</name>
<method>put</method>
<host value="211.99.×××.×××">
<user>logbak</user>
<password>log^123</password>
<remotepath>/data1/log/bosslog/BackupFile/SourceFile</remotepath>
</host>
<localpath recursive="no">/data1/log/bosslog/BackupFile/SourceFile</localpath>
<filepattern value="include">.*log.*$</filepattern>
<backuppath>/data1/boss-baklog/SourceFile</backuppath>
<actionfile>./info/web.info</actionfile>
<rename value="false"/>
<transmode value="bin"/>
<datamode value="active"/>
<increasefilename value="false"/>
<!--<timeout value="3600"/> -->
<retrytimes value="10"/>
<monitorinterval value="1000"/>
<delaytranstime>500</delaytranstime>
</ftpconfig>
<ftpconfig>
<name>3</name>
<method>put</method>
<host value="211.99.×××.×××">
<user>logbak</user>
<password>log^123</password>
<remotepath>/data1/log/bosslog/BackupFile/LoadFile</remotepath>
</host>
<localpath recursive="no">/data1/log/bosslog/BackupFile/LoadFile</localpath>
<filepattern value="include">.*\.zip.*$</filepattern>
<backuppath>/data1/boss-baklog/LoadFile</backuppath>
<actionfile>./info/dlfun.info</actionfile>
<rename value="false"/>
<transmode value="bin"/>
<datamode value="active"/>
<increasefilename value="false"/>
<!--<timeout value="3600"/> -->
<retrytimes value="10"/>
<monitorinterval value="1000"/>
<delaytranstime>500</delaytranstime>
</ftpconfig>
<logfile loglevel="2">./log/ftp.log</logfile>
</global>