-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTransferConfig.xml
More file actions
69 lines (56 loc) · 2.44 KB
/
TransferConfig.xml
File metadata and controls
69 lines (56 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<items>
<!--Software Id, also the center's name -->
<SoftwareId>transfer</SoftwareId>
<!-- The switch used turn off the transfer fucntion, if no, it will not
send the files to ReceiveCenters. value should be "yes" or "no" -->
<TransferSwitch>no</TransferSwitch>
<!-- Directory that will be scanned. -->
<ReportAddress>C:/BrazilTest/BrazilCentre/CTL</ReportAddress>
<!-- Local FTP server info, the root directory of FTP server -->
<FtpMountDirectory>C:/BrazilTest/BrazilCentre/</FtpMountDirectory>
<!-- interval used to send heartbeat. unit: second -->
<HeartbeatInterval>5</HeartbeatInterval>
<!-- interval used to scan the errRecord direcctory, 86400s is recommended!
unit: second -->
<ErrRecordScanInterval>300</ErrRecordScanInterval>
<!-- configuration of Monitor Server -->
<MonitorServerInfo>
<MonitorServerIP>127.0.0.1</MonitorServerIP>
<MonitorServerPort>9889</MonitorServerPort>
</MonitorServerInfo>
<!--Reupload Servers, once the received files has some problems such as
md5 inconformity, it will send message to the following servers to resend
the files. -->
<ReUploadServers>
<ReUploadServerInfo>
<softwareId>transfer</softwareId>
<ReUploadServerIp>192.168.183.129</ReUploadServerIp>
<ReUploadServerPort>9802</ReUploadServerPort>
</ReUploadServerInfo>
</ReUploadServers>
<!-- Mq server configuration -->
<MqServerInfo>
<MqServerIP>192.168.183.129</MqServerIP>
<MqUserName>admin</MqUserName>
<MqPasswd>admin</MqPasswd>
</MqServerInfo>
<!-- ########################################################################################## -->
<!-- if the item TransferSwitch is turned off, then the following configurations are meaningless -->
<!-- ########################################################################################## -->
<!-- As a uploader, it sometimes has to resend some files, this port is
used to receive the resend message. -->
<ReupLoadServerPort>9527</ReupLoadServerPort>
<!-- Target FTP server list, Once this tool receives files correctly, it
will send the files to the following FTP servers. -->
<ReceiveCenters>
<ReceiverFTPinfo>
<CenterName>beijing</CenterName>
<FTPIp>127.0.0.1</FTPIp>
<FTPPort>21</FTPPort>
<FTPUserName>test</FTPUserName>
<FTPPasswd>123456</FTPPasswd>
<FTPDirectory>/</FTPDirectory>
</ReceiverFTPinfo>
</ReceiveCenters>
</items>