[ 
https://issues.apache.org/jira/browse/NET-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301963#comment-14301963
 ] 

Joseph Vychtrle commented on NET-553:
-------------------------------------

Guys the setUnparseableEntries trick doesn't do it. I'm on linux, Java 7, 
commons-net 3.4-SNAPSHOT, you may reproduce  this way : 
{code:title=FTPClient.java}
      FTPClient c = new FTPClient()
      c.connect("ftp.ncdc.noaa.gov")
      c.login("anonymous", "[email protected]")
      c.setDefaultTimeout(timeout)
      FTPClientConfig config = new FTPClientConfig()
      config.setUnparseableEntries(true)
      c.configure(config)
      client.listFiles()
{code}

I tried everything I could think of, including encoding setup, 10 commons-net 
versions, different java versions etc... 

> listFiles(String) returns an empty list, even though FTP Server has sent back 
> data
> ----------------------------------------------------------------------------------
>
>                 Key: NET-553
>                 URL: https://issues.apache.org/jira/browse/NET-553
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 2.0, 3.3
>         Environment: AIX
>            Reporter: Paul Titheridge
>
> We've been using the Apache Commons 2.0 and 3.3 library for a while now, and 
> have just run into an issue.
> The FTP client application and the FTP Server are running on different AIX 
> systems.
> When the FTP application calls the:
>   FTPClient.listFiles(String) 
> command to get some information about a file stored on the FTP Server,  the 
> method intermittently returns an array containing no elements. However, 
> looking at documentation from both the FTP Server and the network, it can be 
> seen that the FTP Server is actually sending back what appears to be a valid 
> response to the LIST command issued by FTPClient.listFiles(String).
> The response sent by the FTP Server contains the file name and attribute 
> information, which is what we expect to see. For some reason, that 
> information is not returned back to the application by the 
> FTPClient.listFiles(String) method.
> The problem only seems to occur under load.
> Has anyone seen this before, or have any suggestions as to what might be 
> causing it? 
> Thanks in advance
> Paul



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to