Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Interim save

...

Instructions for installing, configuring and using the XML Editor can be found in the XML Editor series of articles.

Download

...

files

The configuration configurations described in this tutorial can be downloaded and then directly opened in the XML Editor using the following linklinks:

...

Use of the transactional parameter is generally recommended if more than one file is to be transferred.

Download file

The configuration used for this example can be downloaded and then directly opened in the XML Editor using the following link:

File Completeness - Integrity Hash Checksums

...

The local_2_local_atomic profile listed below is will carry out atomic file transfer from our test server to a local folder. Three relatively large files (each 200KB) will be downloaded and theses may be sufficiently large for you to see that they are first of all written to the local file system with the ~ suffix while the download is taking place and that the suffix is removed once the download has bee completed.

Download file

The configuration used for this example can be downloaded and then directly opened in the XML Editor using the following link:

XML Editor Configuration

The configuration used to demonstrate atomic file transfer is uses the ftp_demo_sos-berlin Protocol Fragment already used in several of the tutorials in this series. The two FileSpecSelection elements in the Profile point to three large files in a subfolder on the test server. A tilde (~) is used as an AtomicSuffix and an AtomicPrefix is not required.

...

The local_2_local_check_steady_state profile listed below is intended to be used in JADE together with a second file transfer program that allows the file transfer rate to be restricted. This second file transfer program is used to transfer a large file from our test server to the a folder used in previous examples at a relatively slow rate. In parallel, JADE is used to check the size of the file arriving in the a folder. When a steady state is found, JADE will transfer the file will be transferred to the local folder b.

WinSCP is an example of a windows file transfer program that allows transfer rate restriction and was used to test this example.

...

  • Prepare your command line interface to run JADE with the local_2_local_check_steady_state profile using the command line call listed below but do not yet start JADEthe transfer.
  • The second file transfer program should be configured to allow a maximum rate of around 16 kB/s. This transfer rate will mean that the download of the example file (approx. 220kB ) will take around 15 seconds. This will provide sufficient time for JADE to be started with the local_2_local_check_steady_state profile below, find the file being transferred and note that its own file transfer operation cannot be started until the download has been completed.
  • Log onto our test server with the second file transfer program using the same host, user & password as listed in other examples on this page. 
  • Select the test_large_1.txt file, which you will find in the demo user's large folder.
  • Start downloading the selected file to the jade_demo/a folder.
  • Quickly start JADE with the local_2_local_check_steady_state' profile.

...