Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
This example describes how to poll a ftp server e.g. in a DMZ. For each file found, a job chain should be executed. In this example
- the file will be transfered to local (using the JADE YADE copy command)
- the fill will be renamed
- the remote file will be deleted
- for each file an order will be created for another job chain.
The configuration setups 2 job chain. The job chain job_chain_ftp_file_order_source contains one step with the jade client YADE Client job.
The order for the polling job chain sets the parameters for polling (10s) and poll_timeout(1m). When the timeout is reached, the polling starts again.
The order also defines how to create the order for each file by setting the value for order_jobchain_name to a valid job chain name.
It also describes how to transfer the files. In this case copying with source protocol is ftp and target protocol is local
...