0
votes

SI's FTP and SFTP Outbound Adapters allow sending temp files with a customizable suffix defaulting to .writing. But I'm interfacing with a legacy system that only plays well with prefixed named temp file renames (e.g. S*-> F*).

After a quick spelunk through the source, I can't find a temp file prefix property or a temp file naming strategy intfc to use.

That said, I can likely use the RemoteFileTemplate's API to disable temp files, send, and rename any way I want.

What's a better option than RemoteFileTemplate for implementing a prefixed temp file rename scheme?

1
Doesn’t `use-temporary-filename = “false” work for you ?Artem Bilan

1 Answers

1
votes

Using a prefix instead of a suffix for the temporary file name is not supported.

You could use the RemoteFileTemplate as you suggest; or contribute an enhancement.