Results 1 to 2 of 2

Thread: FTP - Move file after processing

  1. #1
    Join Date
    Aug 2008
    Location
    Vienna, AT
    Posts
    2

    Question FTP - Move file after processing

    Hi,

    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.

    Regards,
    Daniel

  2. #2
    Join Date
    May 2007
    Location
    Netherlands
    Posts
    614

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •