You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

h1. Variables in JADE parameters

Variables as Parameter argument from Command line

[ftp_server_2_server]
 ssh_auth_method=password 
 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
 
 file_spec=^.*\.txt$
 operation=copy 

JADE example of command line variables

JADE can use the transfer profile from jade_settings.ini and some parameters from CLI command line interface

export archive_dir=/archive/daily/reports
export source_dir=/home/user/application/output

./jade.sh -settings="jade_settings.ini" -profile="ftp_server_2_server" -local_dir="$\{source_dir\}" -remote_dir="archive_dir"

Variables as Parameter argument in jade_settings.ini or profile

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

  • No labels