Announcement Announcement Module
Collapse
No announcement yet.
ftp inbound-channel-adapter is not working Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 07:23 PM.

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

    Comment


    • #3
      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.

      Comment


      • #4
        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.

        Comment

        Working...
        X