You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/05/11 02:41:30 UTC
[jira] Resolved: (NET-302) FTP: initiateListParsing should not
cache entryParser
[ https://issues.apache.org/jira/browse/NET-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved NET-302.
----------------------
Fix Version/s: 2.1
Resolution: Fixed
> FTP: 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
> Fix For: 2.1
>
>
> 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.