AS2-Specific Directories

The following additional directories are created either during the AS2 installation or as needed by the application:

Directory Purpose

lostandfound\

Default inbox where incoming payload will be deposited when the application can't determine where to put it.

AS2\

Location where raw (unprocessed) incoming and outgoing messages are stored. Incoming messages are located in the AS2\received directory and outgoing messages are located in the AS2\sent directory.  These files can be helpful in diagnosing problems. Old files should be deleted or archived by the user, if necessary. 

The AS2\unsent directory contains raw header, data and message setup information files. These files are used if a message needs to be retransmitted and are deleted automatically by the application once the message transfer has either completed successfully or has failed due to timeouts, exceptions, or the number of retries has been exhausted.

The AS2\mdn directory contains subdirectories for received (and optionally sent) MDNs. This directory may be changed on the AS2 Service Panel. MDNs may be automatically archived by the application or manually archived by the user from the MDNs tab on the listener panel. Archived MDNs are stored in AS2\mdn\received\archive\mdn.zip or AS2\mdn\sent\archive\mdn.zip.

The AS2\data directory contains AS2msgs.txt and AS2files.txt files used by the application to determine the receipt of duplicate messages and duplicate file names.  Entries in these files are retained for the time intervals configured on the AS2 Service page. See Local Listener AS2 Service.

When a message is received from a trading partner who has enabled the AS2 Restart feature (i.e., the inbound message contains a valid Etag header), the AS2\restart directory will contain a header file named with the Etag value and a .as2restart extension and the partially received message file (named with Etag value and a _rcv extension). These files can be used to resume a transfer from the previous point of failure. When the entire message has been successfully received these files are removed; otherwise they will be retained for 24 hours after the last failure.

temp\

Temporary location where incoming messages can be stored while they are being processed by the application. By default, they are deleted automatically once the message has been completely processed; however these files can be kept for problem diagnosis by using the Retain Temporary Inbound Message Files host-level Advanced property. (These temporary files will automatically be deleted after 7 days.)