Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Code Boxes added

...

The simple configuration described above is started from the command line or in a batch file on Windows systems using one of the following calls, where sos-berlin_demo_2_local is the name given to the configuration file on saving:

 

Running the Profile

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

Code Block
languagebash
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="ftp_server_2_local_pass"
Code Block
languagebash
titleRunning the file transfer XML configuration on in Windows format (JADE 1.11 and newer)later)
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local.xml" -profile="ftp_server_2_local_pass"

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

Code Block
languagebash
titleRunning the file transfer settings.ini configuration on Windows in Unix format (JADE 1.10 and earlier)
./jade.cmdsh -settings="%USERPROFILE%\${HOME}/jade_demo\/sos-berlin_demo_2_local.ini" -profile="ftp_server_2_local_pass"
Code Block
languagebash
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="ftp_server_2_local_pass"

More  More information - including example calls for Unix systems - can be found in the JADE User Manual - Configuring and Running File Transfers article.

...

JADE will log onto the remote server and download all the files it finds in the source Directory folder (six in total) before stopping.

Note that by default JADE will create the target folder and/or path if it does not exist and if JADE has the necessary permissions. It will also overwrite any files it finds in the target directory with the same names as files it is downloading.

...

While this operation is similar to that described in the first example, it is necessary to create a new Fragment element in the configuration. In addition a new Profile element will be generatedcreated, to keep use of the Profiles elements as flexible as possible.

...

The completed sftp_server_2_local_pass profile is shown below:

 

Running the

...

Profile

The This profile is started from a Windows system by entering the following at command line:called on Windows systems using one of the following commands, depending on the JADE version being used:

Code Block
languagebash
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_pass"
Code Block
languagebash
titleRunning the file transfer XML configuration in Windows format (JADE 1.11 and later)
Code Block
languagebash
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local.xml" -profile="sftp_server_2_local_pass"

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

Code Block
languagebash
titleRunning the file transfer settings.ini configuration in Unix format (JADE 1.10 and earlier)
./jade.sh -settings="${HOME}/jade_demo/sos-berlin_demo_2_local.ini" -profile="sftp_server_2_local_pass"
Code Block
languagebash
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_pass"

...

As with the FTP transfer profile, JADE will log onto the remote server and download all the files (FileSpec = .*) in the source_dir Directory folder before stopping. As with the previous example, six files will be downloaded.

...