Table of Contents |
---|
Introduction
The operation parameter specifies what The Operation element specifies the type of file transfer that is to be carried out. The Operation is a child element of the Profile and a required element.
...
Operation - the action
...
YADE is to carry out
The JADE Operation elements that the YADE Client can carry out a number of different operations.These areare defined as follows:
- copy
Copy - duplicate the files
atfrom one location
atto another
- move
Move - duplicate the files
atfrom one location
atto another and then delete the original files
- remove
Remove - delete files from a server
- getlist
GetList - obtain a file containing a list of
file namesStatus colour Yellow title verify definition
...
file names
Specifying the Operation Element
An Operation element is required for each file transfer configuration.
In the YADE XSD schema, the Operation is a child of the Profile element as is shown in the hierarchy below:
- Profile
- Operation
- Copy
- CopySource
- CopyTarget
- Move
- MoveSource
- MoveTarget
- Remove
- RemoveSource
- GetList
- GetListSource
- Copy
- Client (optional)
- other optional siblings ...
- Operation
The hierarchy also shows how the Operation element that is selected defines whether source and target elements require to be called. These in turn define the transfer options that may be available.
The Operation element has a number of siblings (Client, JobScheduler and Notifications) which are optional children of the Profile element and are described in the Profile parameter reference article.
When the XML Editor is used, selection of an Operation will cause the Editor to automatically generate the required descendants necessary to specify the Operation.
For the Copy Operation these would be:
- Copy
- CopySource
- CopySourceFragmentRef
- *FragmentRef (contains the reference to the Fragment to be used, where * defines the protocol to be used)
- SourceFileOptions
- Selection
- CopySourceFragmentRef
- CopyTarget
- CopyTargetFragmentRef
- Directory
- CopySource
Example Configuration using the Copy Operation
An example configuration using the Copy Operation was shown on the Configuring File Transfers with the YADE Client page.
Example Configuration using the GetList Operation
An example configuration using the GetList Operation is shown on the Example YADE Configuration using the GetList Operation page.
Further Information
- We recommend using the Editor for XML Configuration to configure file transfers for YADE. The editor uses the YADE XSD schema to guide users through the configuration process and validate configurations.
- The Operation parameter reference page.
...
This parameter is mandatory.
The operation parameter can be used without the source_ and target_ prefixes.
...