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

FTP: initiateListParsing should not cache entryParser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.2
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: