Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-302

FTP: initiateListParsing should not cache entryParser

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      z/OS based ftp server

      Description

      if you use initiateListParsing with a FTPFileEntryParser this code can fail:

      FTPClient.listFiles()

      ftp.initiateListParsing(parserKey, ...

      It seems that the listFiles() already set a parser, that gets cached and the parser in the initiateListParsing gets ignored.

      For z/OS you can use ftp for file transfer and for submitting jobs, in the second case you'd want another parser than for the first call.
      c.f. http://www.ibm.com/developerworks/systems/library/es-zosbatchjavav/index.html

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              weberjn Jürgen Weber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: