Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Activities

&pagelevel(4)&pagelevel

There are various types of activity

Internal activities

Internal activities consist of instructions sent to the Ftscript interpreter to control operation.

These include ftscript, sequence, parallel, foreach, empty and fault
(For a description, see chapter “openFT-Script statements”).

External activities

The external activities are statements issued to openFT instructing it to run the required functions.

These include executeScript, transferFile, deleteFile, createDirectory, deleteDirectory and llistDirectory
(For a description, see chapter “openFT-Script statements”).

If you do not specify a partner in the external statements executeScript, deleteFile, createDi-rectory, deleteDirectory or listDirectory then the statement is executed as a local command or local operating system statement.

Parent and child activities

You can nest activities (XML syntax). As a result, activities are subdivided into parent and child activities.

 <ftscript version="1">
   <parallel>
     <transferFile .../>
     <listDirectory .../>
     <foreach ...>
       <deleteFile .../>
     </foreach>
   </parallel>
 </ftscript>

ftscript is the root element.

The root element has a child element (parallel).
parallel has ftscript as parent element (or higher-level element).

parallel also has three child elements (transferFile, listDirectory and foreach). The foreach activity also has a deleteFile activity as a child element.