...
Code Block |
---|
[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 variables as command line
...
argumenrs
JADE can use the transfer profile from jade_settings.ini and some parameters from CLI command line interface.
command line parameters have the priority. If parameter value is provided from CLI , parameter in jade_settings.in will be overwritten.
Code Block |
---|
Code Block |
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
...