We can use capability of standard ESB tools to transfer files from source to target. Also we can use standard MFT tools available in the market.
While designing file transfer process, we may need to consider following
- Successful transfer of the file to the destination
- Archiving and deletion of the file from source after successful transfer.
- Resubmission of process after failures.
- Not to send duplicate file to the target
Single file to single target
Single file to single target is the easiest file transfer pattern.
We need a single process to implement this pattern. If the file is transferred successfully, we archive the file and delete the file from source. If file transfer is not successful than we need to re-run the process.
If process fails in archive and delete stage after successful file transfer, you should not rerun the process. In that case you need to archive and delete manually.
But if you need to do that automatically with re-submission of the process, you need to use file transfer tracking table. With the tracking table you can skip the steps that were already executed. The content of the tracking table is described in multiple target file transfer section.