ASN.1 File Upload Settings

By default, the ASN.1 sFTP Sink application uploads the ASN.1 file with a .writing extension to indicate the file upload is in progress. After the ASN.1 file is uploaded, the sink renames the file back to the original filename without the .writing extension. If the temporary file is locked by the sFTP server (for example, as part of a scan), the sink waits a configured amount of time before it attempts to rename the file again. The renaming process repeats until the file is successfully renamed or the maximum number of attempts is reached. The properties listed in ASN.1 File Upload Properties control this process.

Table 1. ASN.1 File Upload Properties
Property Description
sftp.remote.useTempFile If true, the sink uploads a temporary file with the extension defined in sftp.remote.tempFileExtension. The default value is true.
sftp.remote.tempFileExtension The file extension used for the temporary filename. The default value is .writing.
sftp.remote.renameBackOffMs The time, in milliseconds, to wait before re-attempting to rename the file. The default value is 2000.
sftp.remote.renameMaxAttempts The maximum number of attempts to make when renaming the file. The default value is 10.