To use the extended file/FTP receiver adapter, configure the module ModuleXI2XFile ( classname=com.sap.aii.messaging.adapter.ModuleXI2XFile).
The following table provides a list of all additional configuration parameters available in extended file/FTP receiver adapter:
Parameter |
Description |
Values |
Default Value |
file.numberOfMessageTypes |
Defines the number of indexes used in the configuration. The first index has no numeric suffix, the second has a suffix of 1, and so forth. |
1 |
|
file.writeMode |
Defines how the file name will be written. |
append | addTimeStamp | addMessageId | addCounter | name.uxt | name.cnt | timestamp.uxt | timestamp.ext | timeStamp@value.uxt | timeStamp@value.ext | fromHeader.uxt | fromHeader.ext | fromHeader@value.uxt | fromHeader@value.ext | first17Chars.cnt | first17Chars.timestamp.ext | {custom:literal%variable%literal%variable%} |
addCounter |
file.temporaryFileHandling |
Defines the behaviour while writing the received message: Final: The file will be created directly with its final name in the target directory. tmpFileName: A temporary file is created in the target directory (with a temporary name). It is renamed after processing. tmpDirectory: The temporary file is created in a temporary directory and automically moved to the target directory when finished. |
tmpFileName|tmpDirectory|Final |
|
file.temporaryDirectory |
Is used to specify the location of the temporary directory when file.temporaryFileHandling is set to tmpDirectory. |
||
file.xfileEXT |
Defines a fixed file extension which can be appended to the file name. |
||
file.xfileValue |
Defines a fixed value which can be appended to the file name. |
||
file.xfileName |
Defines a fixed name to be used in the received file name. |
||
file.xfilePostProcessingScript<idx> |
Postprocessing OS script or class implementing com.sap.aii.messaging.adapter.xfile.api.PostProcessor. |
{class:com.sap.aii.messaging.adapter.xfile.ext.ContentDecompression} |
|
file.xfilePostProcessingCrlfConversion<idx> |
Defines conversion of the "end of lines" between the Unix standard (lf) and Windows standard (crlf) when ContentDecompression is used. |
crlf_2_lf|lf_2_crlf |
|
file.xfilePostProcessingCodePageFrom<idx> |
Configures the codepage of the non-compressed data. Works only with ContentCompression preprocessor and file.xfilePreProcessingCodePageTo parameter. |
||
file.xfilePostProcessingCodePageTo<idx> |
Configures the codepage of the compressed data. Works only with ContentCompression preprocessor and file.xfilePreProcessingCodePageFrom parameter. |
||
file.xfilePostProcTimeoutSeconds |
Configures a timeout for the execution of the postprocessing. If timeout occurs, it is treated as an error. |
False0 |