commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-445) The method listFiles in FTPClient can not list these files which upload to FTP Server in Feb, 29 2012
Date Wed, 29 Feb 2012 13:51:57 GMT

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

Sebb commented on NET-445:
--------------------------

NET uses SimpleDateFormat to parse short dates; however this does not work properly for Feb
29.
The current work-round fails for leap-years.

Hope to have a fix soon.
                
> The method listFiles in FTPClient can not list these files which upload to FTP Server
in Feb, 29 2012
> -----------------------------------------------------------------------------------------------------
>
>                 Key: NET-445
>                 URL: https://issues.apache.org/jira/browse/NET-445
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.0.1
>            Reporter: keming.hu
>             Fix For: 3.0.1, 3.1
>
>
> Before Feb, 29 2012, the method listFiles() in FTPClient.class can list all files in
FTP Server. But today, for any file which be uploaded to FTP Server in Feb, 29 2012, this
API can not list these files. When I change the date of FTP Server(it is not Feb, 29 2012),
this API can list all files in FTP Server also. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message