Chapter 3. Gateway development 65
3.6.1 Transferring file inbound
The transfer inbound is performed using ftp. The configuration file is provided in
Example 3-5 on page 54. The audit log contains information about the files that
are transferred, Example 3-15 contains the audit log (we strip out the time stamp
for clarity).
Example 3-15 The inbound file transfer audit log
PIF module in use PIF_Handler
Start Transfer Engine: IN
Processing Transfer rule Transfer files in
TransferEngine::Ftp: Getting files
TransferEngine::Ftp File transfered
/code/motorola-ggsn-source/PassiveCollector-IBM.pmgw_cgprsAccPtStatisti
csEntry_13_01_2009_11_47_42.csv
Finished Transfer rule result 1
Finished Transfer Engine: IN
The processing log message is listed in Example 3-16. We use the most detailed
level of detail (LOGLEVEL=5). We also strip out the time stamp for clarity.
Example 3-16 The inbound file transfer message log
5 lock_process
(../spool/parse,/gways/gateway-framework/parsersrc/gateway_main.pm)
A PIF module in use PIF_Handler
3 Loader dir size utility not configured
A Start Transfer Engine: IN
A Processing Transfer rule Transfer files in
5 TransferEngine: PROTOCOL is ftp
4 TransferEngine: Protocol is ftp
5 Checking optional TIMEOUT which can be type SCALAR
5 Checking optional OVERWRITE_FILES which can be type SCALAR
5 Checking optional TMP_FILENAME_EXTENSION which can be type SCALAR
5 Checking optional PING_RETRY_ATTEMPTS which can be type SCALAR
5 Checking optional RETRY_INTERVAL which can be type SCALAR
5 Checking optional PING_PROTOCOL which can be type SCALAR
5 Returning 0 errors from configuration check
A TransferEngine::Ftp: Getting files
5 Time stamp file ./.timestamp_in doesn't exist
5 TransferEngine::Ftp: set transfer mode to binary
5 Transfer - created connection to 9.3.5.11
5 Transfer files in /code/motorola-ggsn-source since
5 Slept for 0 seconds
5 dir_ent: