SFTP - size of a file
Search form
Description - Checks for size of file on a remote SFTP site
Runtime Class - com.ibi.agents.XDSFTPFileOpsAgent
Configuration
This action requires a Generics Configuration as well as the following required parameters.
Parameter Groups
Parameter Type Description
* File (from) string Originating file to be operated on. Relative or absolute file paths are supported through a SREG or XPATH expression evaluated using the incoming document
* - denotes required
Parameter Type Description
File (to) string Destination file to be operated on. Wild cards accepted. Required except for delete, size exist
File (to) a directory name boolean File (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.
* - denotes required
Parameter Type Description
File (to) Create Directories boolean Create directory if it doesn't exist.
* Retry string If non-zero, will retry the operation n times at one-second intervals.
* - denotes required
Parameter Type Description
* Out Document string Document returned by operation (bad input defaults to result)
Select from one of the following options:
- original - Original document sent to agent
- result - Agent results
- status - Agent status
* Action on Failure string Whether input document or status document returned on failure.
Select from one of the following options:
- input - Original document sent to agent
- status - Agent status
* - denotes required
Output Events
Runtime Class - com.ibi.agents.XDSFTPFileOpsAgent
Configuration
This action requires a Generics Configuration as well as the following required parameters.
Parameter Groups
Parameter Type Description
* File (from) string Originating file to be operated on. Relative or absolute file paths are supported through a SREG or XPATH expression evaluated using the incoming document
* - denotes required
Parameter Type Description
File (to) string Destination file to be operated on. Wild cards accepted. Required except for delete, size exist
File (to) a directory name boolean File (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.
* - denotes required
Parameter Type Description
File (to) Create Directories boolean Create directory if it doesn't exist.
* Retry string If non-zero, will retry the operation n times at one-second intervals.
* - denotes required
Parameter Type Description
* Out Document string Document returned by operation (bad input defaults to result)
Select from one of the following options:
- original - Original document sent to agent
- result - Agent results
- status - Agent status
* Action on Failure string Whether input document or status document returned on failure.
Select from one of the following options:
- input - Original document sent to agent
- status - Agent status
* - denotes required
Output Events
Configuration
This action requires a Generics Configuration as well as the following required parameters.Parameter Groups
Parameter | Type | Description | |
---|---|---|---|
* | File (from) | string | Originating file to be operated on. Relative or absolute file paths are supported through a SREG or XPATH expression evaluated using the incoming document |
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
File (to) | string | Destination file to be operated on. Wild cards accepted. Required except for delete, size exist | File (to) a directory name | boolean | File (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. |
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
File (to) Create Directories | boolean | Create directory if it doesn't exist. | * | Retry | string | If non-zero, will retry the operation n times at one-second intervals. |
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
* | Out Document | string | Document returned by operation (bad input defaults to result)
Select from one of the following options:
|
* | Action on Failure | string | Whether input document or status document returned on failure.
Select from one of the following options:
|
* - denotes required
Output Events
Name | Description |
---|---|
OnParseError | Could not parse a document. |
OnFailConnection | Could not connect to the external system. |
OnFailSecurity | Could not operate due to a security violation. |
OnFailedOperation | Could not perform the operation requested. |
OnNotFound | The resource was not found and this is considered an error. |