Metadata file (FTP only)
The metadata file is optional and contains information such as the fax ID and delivery timestamp. It is created from a Freemarker customer template that contains placeholders taken from the EAS configuration. You can add fields and/or details to the Freemarker template. You have the option to assign the file name from the generated documents and the file will have an .idx
suffix. Here is an example metadata file:
RECEIPT.ID=+49/1250-400-1703
SENDER.FAXNO=00498955281701
SENDER.ID=Retarus GmbH
RECEIPT.DATE=2011-09-28
TIMESTAMP=2011-09-28-13.22.04
RESOLUTION=HHH
PAGES=3
STATUS=OK
The HHH
for RESOLUTION
means that each of the three pages in the fax has a high resolution. For example, if pages 1 and 3 in this fax were low resolution, the Resolution line would look like this:
RESOLUTION=LHL
Freemarker template
RECEIPT.ID=${faxCsid}
SENDER.FAXNO=${vampHeader.senderIsdn}
SENDER.ID=${vampHeader.senderFaxId}
RECEIPT.DATE=${vampHeader.timeStamp?string('yyyy-MM-dd')}
TIMESTAMP=${vampHeader.timeStamp?string('yyyy-MM-dd-HH.mm.ss')}
RESOLUTION=${vampHeader.resolution}
PAGES=${vampHeader.pages}
STATUS=${vampHeader.status}