commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <j...@apache.org>
Subject [jira] Created: (NET-302) initiateListParsing should not cache entryParser
Date Fri, 04 Dec 2009 10:13:20 GMT
initiateListParsing should not cache entryParser
------------------------------------------------

                 Key: NET-302
                 URL: https://issues.apache.org/jira/browse/NET-302
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: z/OS based ftp server
            Reporter: Jürgen Weber


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message