Versions Compared

Key

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

...

Variables as Parameter argument in jade_settings.ini or profile

For info about the parameters see the parameter documentation on jadeParameterReference.

Code Block


[globals]
sftp.port = 22
ftp.port  = 21




[ftp_server_2_server]
 file_spec              =^.*\.txt$
 operation              =copy 

 ssh_auth_method        = password 
 source_user            = kb
 source_password        = *****
 source_ssh_auth_method = password
 source_host            = wilma.sos
 source_protocol        = sftp
 source_port            = $\{sftp.port\}
 
 target_user            = test
 target_password        = *****
 target_host            = 8of9.sos
 target_protocol        = ftp
 target_port            = $\{ftp.port\}
 

JADE example of variables in jade_settings.ini file

jade_settings.ini file can be use variables in profile, variables can be defined in the global profile and can be used in any profile in jade_settings.ini file. Globals profile is included automatically in all the profiles.

Code Block


./jade.sh -settings="jade_settings.ini" -profile="ftp_server_2_server" 

For info about the parameters see the parameter documentation on jadeParameterReference.globals
homer.hosth1. homer.sos
homer.user test
homer.ssh_auth_methodh1. password
homer.password 12345
homer.protocolh1. sftp
homer.port 22
homer.command=/home/test/jade/bin/jade.sh