ServiceMix
  1. ServiceMix
  2. SM-78

FTPPoller issues: done(exchange), handling paths and directories, client.completePendingCommand()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: servicemix-components
    • Labels:
      None
    • Environment:

      Windows? All?

      Description

      1) processFile() doesn't call done(exchange).
      2) FTPPoller doesn't seem to have any handling for directories.
      3) FTPClient needs completePendingCommand() following retrieveFileStream().

      Attached is a revised file which I believe deals better with these issues.

        Activity

        Hide
        John Hurst added a comment -

        Note: I think the directory handling is a bit suspicious and should ideally be tested on some other FTP servers. I may be able to try it out with a GNU/Linux ftp server shortly.

        JH

        Show
        John Hurst added a comment - Note: I think the directory handling is a bit suspicious and should ideally be tested on some other FTP servers. I may be able to try it out with a GNU/Linux ftp server shortly. JH

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            John Hurst
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development