Announcement Announcement Module
No announcement yet.
FTP - Move file after processing Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • FTP - Move file after processing


    I downloaded integration RC1 (+ adapters) to give it a try but I can't figure out how to solve the following problem:

    1. XML-Files should be polled from a (S)FTP remote directory.
    2. After processing (importing content into DB) a file it should be moved to an "archive" directory on the FTP server.

    After some search I stumbled upon INT-319. Is it too late now to get such a feature into the 1.0 release of the adapter project (if it is tied to the core integration release)?

    If so can someone point me in a direction how to do it "manually"?

    AbstractFilePayloadTransformer looks like something I should look into.


  • #2
    There have been quite a few changes. The basic idea I have is that a node should not take responsibility for moving files on another node.

    You can delete files locally from the file specific transformers after you convert the file to another representation. To remove the remote file I would recommend to alert the remote system that you have processed the file and let that system take care of the removal.