Oracle Managed File Transfer can transfer files on its
own using embedded FTP and sFTP servers and the file systems to which it has
access. In this use case, we will transfer same file to multiple targets.
To Design the above use case, we need to create three
Artifacts in the Designer page of the Oracle Managed File Transfer Console. Three
artifacts are source, Target, Transfer
Source: It
defines the origin of file location of the file from which MFT will pick
Targets:
It is the destination location where the MFT put the file.
Transfer: This artifacts links
one source to one or more targets.
Login to mft console open design tab and create source
and select type as file because we will read file from local folder (where the
MFT is running)
Create two targets with names FAN_OUT_Target1 and
FAN_OUT_Target2
Create a transfer with name MFT_FAN_OUT
In the transfer, we will add the source and targets we
already created
Add Source
Add target
Transfer has been created with one
source(FAN_OUT_Source) and Two targets (FAN_OUT_Target1, FAN_OUT_TARGET2)
In the source, we will restrict the files it will read
by providing the value in the content filter as below. Here we are restricting
to read file with name Sample*.txt
Save the changes and Deploy the MFT_FAN_OUT transfer.We can see the deployed transfer in the Monitoring tab
deployments section.
Now place the file in the source directory same file has been moved to two targets
After file has been moved to target directory file is not deleted from source directory. We have the options in the Source to delete and archive the file after the transfer.
No comments:
Post a Comment