Spring integration - sftp/ftp -


I am using the spring integration file / sftp module, how can I avoid partial file downloads? There is no control over the external process for pushing files into FTP / SFTP.

You need to get the sender control (or influence). Many techniques can be used - Change the name of the file after the successful transfer (this is what spring applying) or send a second file foo.complete and only when the file is completed Fetch.

You can not do anything if they will not cooperate.


Comments