Versions Compared

Key

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

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

JADE profile

...

for recursive directory transfer

...

General

JADE can transfer entire directory tree trees recursively to traget a target host. if any directory is specified in by he file_spec parameter and parameter recursive=true then JADE will
transfer all the subdirectories to remote server.

Example 1: copy directory and its subdirecotry (recursive) from local host to target host using SFTP

Code Block


[copy_directory_to_sftp_server]
;; This is comment
operation       = copy
;;
file_spec       = ^daily_report$
recursive       = true
;;
source_host     = localhost
source_protocol = local
source_dir      = $\{local_dir\}
;;
target_host     = 8of9.sos
target_protocol = ftp
target_port     = 21
target_user     = kb
target_password = ****
ssh_auth_method = password
target_dir      = $\{remote_dir\}

To execute this profile on the command line type:

Code Block
languagebash

jade.sh -settings=name-of-your-configuration-file -profile=copy_directory_to_sftp_server