The Directory / File Transport is used to place files into a Directory, either on the local machine or somewhere on a network file system. To configure a Directory / File Transport, select Directory /File from the Transport Type drop down.
On the Basic configuration tab you will specify the Target directory. This is the Directory where you will want to place the file. The Target file name configuration item is used to configure the name of the file that will be created. The Target file extension is used to provide the extension for that file name. You may choose to create a new file for each invocation of this Transport, to continue to Append to a particular file or to Overwrite the existing file.
When Append to File is chosen, you can choose the maximum size for any given file and configure that using the Maximum File Size Configuration item. This file size is specified in bytes.
On the Advanced tab, the Batch Sensitive configuration item allows you to specify whether or not this Directory Transport should be aware, or pay attention to, information about the batch of translations related to this inbound set. This must be used in conjunction with certain Listeners that also support batch sensitive behavior.
Also you can specify:
Run Command: Command to run after the file is written.
UNIX/LINUX Shell: Path to shell to use for running the command.
Next, a look at Email (SMTP).