File Transfer
Explanation
Section titled “Explanation”File Transfer is one of four integration styles. An integration style is a general way to connect applications so they can share data (see the article Integration Styles).
The idea is simple. Each application produces files that hold information other applications need. Each application also consumes files that others produced.
File format. Teams must decide what the files look like. Typical choices are COBOL-based mainframe feeds, Unix text files, and XML.
Transformation. One application’s output is rarely what another application needs. Someone must convert files from one format to another. Integrators take on this job.
Batch frequency. Applications produce files at regular intervals. The interval should fit the nature of the business. Choosing it is a core design decision.
Example
Section titled “Example”A billing application writes a file of new invoices at the end of each business day. A reporting application reads that file and loads the invoices. A small conversion step first turns the billing format into the format that reporting expects. The two applications never call each other directly. They only share the file and the agreed schedule.
Trade-offs
Section titled “Trade-offs”The verified facts do not cover benefits or drawbacks in depth. Two points follow directly from them:
- Someone must own the format conversion, because outputs rarely match what consumers need.
- The batch interval is a business choice. Teams must agree on it and document it.
Diagram source
flowchart LR A[Producing application] -->|writes file| F[(Shared file)] F -->|transformed if formats differ| C[Consuming application]Checks
Section titled “Checks”- The document states the file format used between each producer and consumer, such as text, XML, or a mainframe feed.
- The document says how often each file is produced and why that interval fits the business.
- The document names who is responsible for transforming files between formats.
Related
Section titled “Related”- Integration Styles
- Shared Database
- Remote Procedure Call
- Messaging
- Integration Style
- Message Translator
Sources
Section titled “Sources”- Introduction to Integration Styles - Enterprise Integration Patterns — enterpriseintegrationpatterns.com, accessed 2026-11-09
- File Transfer - Enterprise Integration Patterns — enterpriseintegrationpatterns.com, accessed 2026-11-09