Results 1 to 3 of 3

Thread: question about int-ftp:outbound-gateway

Hybrid View

  1. #1

    Default 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. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,036

    Default

    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.
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  3. #3

    Default

    Thanks much Gary

Posting Permissions

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