Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Conversion corrections

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px
h1.

JADE profiles with settings for History Log , CSV and Background service

General

JADE do log each and every file transfer in local csv file and an log4j format file. At the same time transfer file history can be sent to an background service.
Background service will insert the transfer history into log table.

...

jade_settings.ini file with settings for history csv, log and background service.

Code Block


 [MailSettings]
 file_notification_to      = admin@example.com
 file_notification_subject = JADE-Client mail
 file_notification_body    = This is a test.
 mail_smtp                 = mail.example.com
 
 [BackgroundService]
 BackgroundServiceHost     = 8of9.sos
 BackgroundServicePort     = 4210
 SendTransferHistory       = true
 TransferMethod            = TCP

 [JADEHistory]
 log_filename      = $\{basedir\}/jade_history.log
 HistoryFileName   = $\{basedir\}/jade_history.csv

 [globals]
 include           = MailSettings , JADEHistory, BackgroundService
 title             = Global Profile
 basedir           = C:\sos-berlin.com\jade


...

The "include" parameter will include the named profiles in the order they are defined. The "globals" profile is included automatically, no need to specific it in an include parameter.
The profiles must be defined in the same settings file.

Code Block

[ftp_server_2_server] 
 include                = globals 
 source_user            = kb
 source_password        = ***** 
 source_ssh_auth_method = password
 source_host            = wilma.sos
 source_protocol        = sftp
 source_port            = 22
 target_user            = test
 target_password        = *****
 target_host            = 8of9.sos
 target_protocol        = ftp
 target_port            = 21
 operation              = copy
 file_spec              = ^.*\.txt$
   

...