[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
Environment:

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

 Description   

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.



 Comments   
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 Sat Jan 25 13:52:28 UTC 2020 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.