Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
titleExample profile to copy files from local host to target host using SFTP
[MailSettings]
 file_notification_to      = admin@example.com
 file_notification_subject = JADEYADE 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

 [wilma]
 user            = kb
 password        = *****
 ssh_auth_method = password
 host            = wilma.sos
 protocol        = sftp
 port            = 22

 [8of9]
 user            = test
 password        = *****
 host            = 8of9.sos
 protocol        = ftp
 port            = 21

 [copy_to_sftp_server]
 ;; This is comment
 operation       = copy
 ;;
 source_dir      = ${local_dir}
 source_include  = wilma
 ;;
 target_dir      = ${remote_dir}
 target_include  = 8of9.sos
 ;;
 file_spec       = ^\.txt$

...