Results 1 to 4 of 4

Thread: ftp inbound-channel-adapter is not working

Hybrid View

  1. #1

    Default ftp inbound-channel-adapter is not working

    Hi,

    Here is my ftp:inbound-channel-adapter configuration which is not doing anything... I mean it is not polling files from the ftp server.

    <ftp:inbound-channel-adapter id="rejectsFtpAdapter"
    channel="rejectsChannel"
    host="${fileServerHost}" port="21"
    remote-working-directory="${rejectsRemoteDirectory}"
    local-working-directory="file:${rejectsLocalTempDirectory}"
    username="abc"
    password="abc">
    <cron-trigger expression="10 * * * * *"></cron-trigger>
    </ftp:inbound-channel-adapter>

    <service-activator input-channel="rejectsChannel" ref="rejectsProcessorEndpoint"/>

    But, if manually copy files into the configured local directory, the endpoint class (i.e. rejectsProcessorEndpoint) is getting executed perfectly fine.

    Please let me know if i am missing something here.

    Thanks,
    Prabhakara Gangi.
    Last edited by pgangi@wsgc.com; Nov 11th, 2008 at 07:23 PM.

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

    Default

    I'll double check my tests. If your remote directory is correct, this should work.

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

    Default

    I've created a more elaborate testcase for this: http://is.gd/8FIt. Let me know if it doesn't work for you with similar configuration.

  4. #4
    Join Date
    Oct 2012
    Posts
    4

    Default

    Quote Originally Posted by iwein View Post
    I've created a more elaborate testcase for this: http://is.gd/8FIt. Let me know if it doesn't work for you with similar configuration.
    I am also facing a similar issue but with SFTP.
    Were you able to resolve this.

    If so, then please provide some pointers for the same.

    Thanks.

Posting Permissions

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