Sample Job Definition

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Robo-FTP Framework > Job Definitions >

Sample Job Definition

 

Jobs are defined by linking these steps together to define a job. Below is an example of a job definition. The definition can be input or edited in the Framework Web Interface

 

job_example_pt1

job_example_pt2

 

The internal representation of the above job, which is based on an INI-style format, is shown below. This internal representation can be accessed directly using the "Edit INI" button at the top of each job's Edit Config page. This is an advanced feature and unnecessary in the vast majority of cases.

 

[Pull]

specification=*.pgp

site=ftp

 

[PullCnt]

step_kind=pull

specification=%Pull[0] + ".cnt"

site=ftp

 

[Decrypt]

specification=*.pgp

 

[Validate]

cnt_file=%PullCnt

 

[Encrypt]

[email protected]

 

[Compress]

password=mypass123

 

[Name]

specification=*.zip

pattern=.zip

replace="_" + %year + %month + %day + ".zip"

 

[Push]

site=ssh

 

[Retrieval]

site=ssh

specification=%Name