[
https://issues.apache.org/jira/browse/NET-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007940#comment-13007940
]
Sebb commented on NET-376:
--------------------------
Can you try adding the following before calling initiateListParsing?
anFTPClient.addProtocolCommandListener(new PrintCommandListener(new
PrintWriter(System.out)));
This will show the commands that are being sent and the responses.
[BTW, you could update your code to add a call to display the output from
getReplyString() if the command fails.]
> setListHiddenFiles doesn't work for HFS file system running under zos
> ---------------------------------------------------------------------
>
> Key: NET-376
> URL: https://issues.apache.org/jira/browse/NET-376
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 2.2
> Environment: IBM z/OS running HFS
> Reporter: Colin Stone
>
> The implementation for setListHiddenFiles is essentially the use of a '-a'
> parameter appended to the LIST command. This retrieves the data in a
> different format to without the parameter and the parse engine used by
> initiateListParsing fails to read the lines returned.
> I suggest the parameter should have been '-al' for this scenario
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira