[INT-4442] Add TemporaryFileNameStrategy support to RemoteFileTemplate Created: 22/Mar/18  Updated: 30/Oct/19  Resolved: 30/Oct/19

Status: Closed
Project: Spring Integration
Component/s: Core, FTP/SFTP Support
Affects Version/s: General Backlog
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Jon Assignee: Artem Bilan
Resolution: Duplicate Votes: 0
Labels: PullRequest
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

All supported

Reference URL: https://stackoverflow.com/questions/49420054/ftp-sftp-sending-prefixed-temp-files-with-spring-integration
Pull Request URL: https://github.com/spring-projects/spring-integration/pull/2410


As discussed in the SO thread, SI as of 4.3.14/5.0.3 does not currently support customizable prefix temporary file names for remote file transfers as a way to avoid partially written files. This issue makes integrating SI with legacy systems that only support `S*` -> `F*` style temp file handling schemes more challenging.

The current suffix temp file naming scheme is useful, as is the ability to utilize RemoteFileTemplate. However, a temp file naming strategy intfc strategy with a default suffix impl used by RemoteFileTemplate is much preferred.

Please consider for both upcoming 5.x and 4.3.x releases.

Comment by Artem Bilan [ 30/Oct/19 ]

This issue has been moved to GitHub as https://github.com/spring-projects/spring-integration/issues/2955

Generated at Sun Jul 05 23:12:12 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.