...
Template Name | Extension Name | Extension Version |
---|---|---|
UDMG File Transfer | ue-mft-transfer | 1.1.0.0 |
Refer to Changelog for version history information.
Software Requirements
This integration requires a Universal Agent and a Python runtime to execute the Universal Task.
Software Requirements for Universal Template and Universal Task
Requires Python 3.7.0 or higher. Tested with the Universal Agent bundled Python distribution.
...
- Universal Agent for Windows x64 Version 7.13.0.0 and later with python options installed.
- Universal Agent for Linux Version 7.13.0.0 and later with python options installed.
...
Universal Controller Version 7.23.0.0 and later.
Network and Connectivity Requirements
...
- Actions
- Trigger a File Transfer on UDMG to download a file from a remote partner.
- Trigger a File Transfer on UDMG to upload a file to a remote partner.
- File Transfer Control
- Capability to pause a partial transfer.
- Capability to resume a paused transfer.
- Capability to cancel a transfer (from planned, running, paused, or error status).
- Capability to retry a failed transfer.
- Task is synchronous with the UDMG transfer and terminates when the transfer is completed (either with success or error)
- Input/Output
- Capability for the UAC task author, to retrieve the list of partners from UDMG for a given protocol.
- Capability for the UAC task author, to retrieve the list of transfer rules from UDMG for a given partner.
- Monitor of the transfer with periodic polling from UDMG and display to output-only fields and extension output.
- Other
- Support for
SFTP
,HTTP
, andHTTPS
file transfer protocol
- Support for
...
Field | Input type | Default value | Type | Description | |||||
---|---|---|---|---|---|---|---|---|---|
Action | Required | PUT | Choice | Action performed upon the task execution. Available actions:
| |||||
Protocol | Required | SFTP | Choice | The transfer protocol. Available values:
| |||||
MFT Server | Required | - | Text | UDMG Server URL. For example: http://localhost:8080/api | |||||
MFT Credentials | Required | - | Credentials | UDMG Server Credentials. The Credentials definition should be as follows.
| |||||
Source File | Required | - | Text | The name of file,
| Partner | Required | |||
Target File Introduced in version 1.1.0 | Optional | - | Dynamic Choice | Dynamically fetched list of partner names.Text | The name of file on the target system after the transfer,
| ||||
Partner | Required | - | Dynamic Choice | Dynamically fetched list of partner names. The list is restricted to the partners that support the selected Protocol. The user can select the required partner name from a drop-down list. | |||||
Rule | Required | - | Dynamic Choice | Dynamically fetched list of transfer rules. The list is restricted to the rules that are assigned to the selected Partner. The user can select the required rule from a drop-down list. | |||||
Partner Account | Required | - | Text | The name of the account to use for the connection to the selected Partner. The account credentials are configured on UDMG. | |||||
Advanced | Optional | False | Boolean | By checking this field, more fields are available for advanced configuration. | |||||
Polling Interval | Optional | 5 | Integer | The amount of time (in seconds) the task will wait before polling to check the transfer status. Valid values from 0. |
...
Example for sending a file to a HTTPS
server.
The configuration on UDMG for the partner:
GET a file from an SFTP server
Example for downloading a file from an SFTP
server.
The configuration on UDMG for the partner:
Task Execution
...
Field | Type | Description |
---|---|---|
Transfer ID | Text | The unique identifier of the transfer on UDMG |
Transfer Status | Text | The current status of the transfer Used for Task instance Extension Status. |
Transfer Start Time | Text | The date and time the transfer has started |
Transfer End Time | Text | The date and time the transfer has ended |
Transfer Step | Text | The current processing step of the transfer One of NONE, PRE TASKS, DATA, POST TASKS, ERROR TASKS or FINALIZATION |
Transfer Progress | Integer | The progress (in bytes) of the data transfer |
Error Code | Text | The error code of the transfer (if an error occurred) |
Error Message | Text | The error message (if an error occurred) |
Transfer Task Number | Text | The number of the task in the processing step. Especially for the steps 'PRE TASKS', 'POST TASKS', and 'ERROR TASKS' |
Local File | Text | Local file path |
Remote File | Text | Remote file path |
Exit Codes
Transfer UUID Introduced in version 1.1.0 | Text | The UUID of the transfer on UDMG |
These field are also available as task instance variables, with ops_mft_ prefix:
Exit Codes
The exit codes for this Universal Extension are described below.
...
See description of the Transfer Error Code: https://doc.waarp.org/waarp-gateway/0.57.1/fr/reference/errorcodes.html
Extension Output
In the context of a workflow, subsequent tasks can rely on the information provided by this integration as Extension Output.
...
Attribute | Type | Description |
---|---|---|
transfer_id | string | The unique identifier of the transfer on UDMG |
status | string | The current status of the transfer One of PLANNED, RUNNING, PAUSED, INTERRUPTED, DONE, CANCELLLED or ERROR |
start | string | The date and time the transfer has started |
stop | string | The date and time the transfer has ended |
step | string | The current processing step of the transfer One of NONE, PRE TASKS, DATA, POST TASKS, ERROR TASKS or FINALIZATION |
progress | number | The progress (in bytes) of the data transfer |
error_code | string | The error code of the transfer (if an error occurred) |
error_msg | string | The error message (if an error occurred) |
task_number | string | The number of the task in the processing step. Especially for the steps 'PRE TASKS', 'POST TASKS', and 'ERROR TASKS' |
local_file | string | Local file path |
remote_file | string | Remote file path |
...
remote_id Introduced in version 1.1.0 | string | The UUID of the transfer on UDMG |
transfer_info Introduced in version 1.1.0 | array | The transfer information fields |
An example of the Extension Output for an download from SFTP
is presented below.
...
Panel |
---|
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
STDOUT and STDERR
|
STDOUT and STDERR
STDOUT
and STDERR
provide additional information to User. The populated content can be changed in future versions of this extension without notice. Backward compatibility is not guaranteed.
...
Document Link | Description |
---|---|
Universal Templates | User documentation for creating, working with and understanding Universal Templates and Integrations. |
Universal Tasks | User documentation for creating Universal Tasks in the Universal Controller user interface. |
Credentials | User documentation for creating and working with credentials. |
Resolvable Credentials Permitted Property | User documentation for Resolvable Credentials Permitted Property. |
Anchor | ||||
---|---|---|---|---|
|
ue-mft-transfer-1.1.0 (2023-01-31)
Deprecations and Breaking Changes
Breaking Change
: minimum universal agent version set to 7.3
Enhancements
Add
: set target filename (rename file) (#31174)Add
: transfer status as UC 7.3 extension status field. (#31041)Add
: retry failed transfer with Task Re-run. (#29599)Add
: show UUID. (#30733)Add
: show transfer info fields. (#30930)
Fixes
Fix
: optimize number of API calls. (#29247)
ue-mft-transfer-1.0.0 (2022-06-30)
- Initial version