Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4060

FTP Outbound Gateway should support NLST operation for ls command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3 GA, 4.2.8
    • Fix Version/s: 5.0 M5
    • Component/s: FTP/SFTP Support
    • Labels:

      Description

      If FTP Outbound Gateway ls command is used with -1 (file names only) as option, NLST ftp command should be supported as an alternative way to get file names.

      The issue is my production FTP server could list directories/files if NLST command is used, ls will returns empty directory / file list.

      According to my understanding, in AbstractRemoteFileOutboundGateway implementation, the NAME_ONLY option (-1) of ls command is only a post operation that extracts list of FTP file name after retrieved the file list based on ls command. In my case, this will return nothing and no file name could be extracted.

        Attachments

          Activity

            People

            Assignee:
            abilan Artem Bilan
            Reporter:
            simonwg Simon Wong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: