Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Comprehensive profile calls added

...

  • The value of the file_spec defines the regular expression used to filter file names

  • A recursive child element has been added to the FileSpecSelection element and its value set to true (the default value is false).
  • The source_dir parameter has also been changed to:
    • /rec


Call this profile by entering the following in the command line:

 

This profile is called on Windows systems using one of the following commands, depending on the JADE version being used:

Code Block
titleRunning the file transfer settings.ini configuration in Windows format (JADE 1.10 and earlier)
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local.ini" -profile="sftp_server_2_local_select_recursive"
Code Block
titleRunning the file transfer settings.ini configuration in Windows format (JADE 1.11 and later)
Code Block
languagebash
titleWindows
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local.xml" -profile="sftp_server_2_local_select_recursive"

On Unix systems the profile is called using one of the following commands, depending on the JADE version being used:

Code Block
titleRunning the file transfer XML configuration in Unix format (JADE 1.11 and later)
./jade.sh -settings="${HOME}/jade_demo/sos-berlin_demo_2_local.ini" -profile="sftp_server_2_local_select_recursive"
Code Block
titleRunning the file transfer XML configuration in Unix format (JADE 1.11 and later)
./jade.sh -settings.ini="${HOME}/jade_demo/sos-berlin_demo_2_local.xml" -profile="ftpsftp_server_2_local_select_recursive"

...

The JADE Client can handle files with zero bytes in a number of ways, depending on the setting used for the TransferZeroByteFiles parameter, which is also specified as a child of the Directives element.

...

The default TransferZeroByteFiles setting is true. The screenshot below shows how this element is integrated in a duplicate of the ftp_server_2_local file transfer profile that was described in the first tutorial in this series. This new Profile has profile_id = ftp_server_2_local_zero_byte.

In its original configuration - i.e. with FileSpec set to .*, the ftp_server_2_local profile transfers six files from the SOS test server to the local file system. One of these files - ./test_4.txt - has zero bytes and can be used to demonstrate the use of the TransferZeroByteFiles parameter.

...

This profile is called on Windows systems using one of the following commandcommands, depending on the JADE version being used:

Code Block
titleRunning the file transfer settings.ini configuration in Windows format (JADE 1.10 and earlier)languagebash
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local.ini" -profile="sftp_server_2_local_zero_byte"
Code Block
titleRunning the file transfer settings.ini configuration in Windows format (JADE 1.11 and later)
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local.xml" -profile="sftp_server_2_local_zero_byte"

On Unix systems the profile is called using one of the following commands, depending on the JADE version being used:

Code Block
titleRunning the file transfer XML configuration in Unix format (JADE 1.11 and later)
./jade.sh -settings="${HOME}/jade_demo/sos-berlin_demo_2_local.ini" -profile="sftp_server_2_local_zero_byte"
Code Block
titleRunning the file transfer XML configuration in Unix format (JADE 1.11 and later)
./jade.sh -settings="${HOME}/jade_demo/sos-berlin_demo_2_local.xml" -profile="sftp_server_2_local_zero_byte"

...