File
Interface
Exchange of IDocs and status records via operating system files
The sending system writes a file in the file system. Then it notifies the receiving system via the synchronous RFC,
● that the file has been transferred,
● where the file is located (directory) and
● what the file is called (file name).
This type of notification is referred to as triggering. For more information, see:
Outbound: Triggering the Receiving System
Inbound: Triggering the SAP System
Inbound processing of status files: Triggering the SAP System
So that no data is lost, the sending system never attaches other data to a file that has already been transferred to the receiving system. The receiving system processes the transferred files completely. It is then automatically deleted from the file system.

To avoid overwriting files, you should use unique names. The SAP System can, for example, name IDoc files according to client and IDoc number.
The sending and receiving system must have the corresponding access authorizations (read and write authorization).
Port Type File: Maintaining Port Definition