...
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 series of files from our test server at a relatively slow rate to the local jade_demo/a folder used in previous examples at a relatively slow rate. In parallel, JADE is used to check the size of the file files arriving in the folderjade_demo/a folder. When a steady state is found, JADE will transfer the file to the local folder jade_demo/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 the 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 each 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 Profile below, find the file files being transferred and note that its own file transfer operation cannot be started until the download has been completed.
- Log onto our test FTP server with the second file transfer program using the same host, user & password as listed in other examples on this page.
- Select the three test_large_1*.txt file files, which you will find in the demo user's
large
folder.- Start downloading the selected
- files to the jade_demo/a folder.
- Quickly start JADE with the local_2_local_check_steady_state' profile.
Code Block | ||
---|---|---|
| ||
[local_2_local_check_steady_state] ;; operation = copy file_spec = ^test_large_1\.txt$ check_steady_state_of_files = true steady_state_count = 10 check_steady_state_interval = 2 ;; source_host = localhost source_protocol = local source_dir = ${USERPROFILE}\jade_demo\a ;; target_host = localhost target_protocol = local target_dir = ${USERPROFILE}\jade_demo\b |
...