I am new to Spring and I am currently working on spring integration with ftp support.
But I want to find how I can Transfer file from FTP Server to another FTP Server and if it's possible to read file without downloading it from the server.
If you mean fetch a file and send it to another server without writing it to the local file system then, no, that's not currently possible with standard components.
However, you can use two FtpRemoteFileTemplate
s (use the execute
method) to stream the data from an InputStream
to an OutputStream
.