Spring integration: download file for each update on it from FTPS server -


i using spring integration.

in remote ftps server, same file updated every time. source system not ready create new file every time.

for everyupdate of file. need download file , process it.

require create filter listen every file update.

use ftppersistentacceptoncefilelistfilter in filter attribute , filesystempersistentacceptoncefilelistfilter in local-filter attribute.

these filters, persisting state lives beyond current execution, compare modified time.

however, need careful updating file server-side, rather replacing new 1 each update. entirely possible (and likely) fetch partially updated file (fetch file before writer has finished updating it).


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -