FTP - prepend to an existing file

Description - Prepend a file to the beggining of another file on a remote FTP site

Runtime Class - com.ibi.agents.XDNPFFTPOpsAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
*Name:stringOriginating file to be operated on. Relative or absolute file paths are supported explicitly or through a SREG or XPath expression evaluated using the incoming document
* - denotes required
 ParameterTypeDescription
Directory:booleanFile (to) references a directory, if it is unclear whether path names a directory or a filename, the Service Manager will assume the path names a file.
Name:stringDestination file to be operated on. Wild cards accepted. Required except for delete, size, exists
* - denotes required
 ParameterTypeDescription
Create Directory:booleanCreate directory if it doesn't exist.
* - denotes required
 ParameterTypeDescription
*Out Document:stringDocument returned by operation (bad input defaults to result)

Select from one of the following options:
  • result - The resulting document from the file operations
  • status - A status document describing the result of the operation
  • original - The original input document arriving at this agent/service
Return on Failure:stringWhether input document or status document returned on failure

Select from one of the following options:
  • iWay Status Document {status} - Replace input with standard iWay status document
  • Original Input Document {input} - Output of node is original document
* - denotes required

Output Events

NameDescription
OnFailedOperationCould not perform the operation requested.
OnFailConnectionCould not connect to the external system.
OnFailSecurityCould not operate due to a security violation.
OnNotFoundThe resource was not found and this is considered an error.