Announcement Announcement Module
Collapse
No announcement yet.
question about int-ftp:outbound-gateway Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • question about int-ftp:outbound-gateway

    Hello
    how can I delete the remote files after I perform get or mget

    <int-ftp:outbound-gateway id="gatewayGET" cache-sessions="false"
    local-directory="./target/local-ftp-temp"
    session-factory="ftpSessionFactory"
    request-channel="toGet"
    reply-channel="aggregateResultsChannel"
    command="get"

    Regards;

  • #2
    See the gateway sample: https://github.com/SpringSource/spri...ster/basic/ftp

    It uses a gateway to ls the files, a splitter, a gateway to get each file, and another gateway to rm after the get.

    Comment


    • #3
      Thanks much Gary

      Comment

      Working...
      X