This is not currently supported, but this would be a nice addition to the (S)FTP outbound gateways, which currently support ls, rm, get, mget.
This would not be a difficult addition because the underlying Session object (FtpSession, SftpSession) has a
Code:
void rename(String pathFrom, String pathTo)
method.
Feel free to open a 'New Feature' JIRA issue https://jira.springsource.org/browse/INT
If you'd be interested in making a contribution, see: https://github.com/SpringSource/spri...ONTRIBUTING.md
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware