commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NET-376) setListHiddenFiles doesn't work for HFS file system running under zos
Date Thu, 17 Mar 2011 15:00:37 GMT

    [ 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

Mime
View raw message