commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yousei Itou (JIRA)" <j...@apache.org>
Subject [jira] Closed: (NET-209) FTPClient.listFiles can't parse files which modified on (leap-year's)2/29.
Date Mon, 31 Mar 2008 02:12:25 GMT

     [ https://issues.apache.org/jira/browse/NET-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yousei Itou closed NET-209.
---------------------------

    Resolution: Duplicate

Sorry, Same issue already exists(NET-188).

> FTPClient.listFiles can't parse files which modified on (leap-year's)2/29.
> --------------------------------------------------------------------------
>
>                 Key: NET-209
>                 URL: https://issues.apache.org/jira/browse/NET-209
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: commons-net1.4.1.jar and jakarta-oro-2.0.8.jar
> FTPClient is running on windows xp and jdk1.6.0.
> FTPClient connects vsftp on Fedora Core 4(linux).
>            Reporter: Yousei Itou
>            Priority: Critical
>
> The files modified on (leap-year's)2/29 seem to be null when listFiles called.
> Code:
> FTPClient client =.. // create client. and connect.
> FTPFile files[] = client.listFiles();
> for (FTPFile file : files) {
>   System.out.println(file);
> }
> client.disconnect();
> Result:
> -rw-rw-r--    1 510      510        605555 Jan 31 20:32 file_1.csv
> -rw-rw-r--    1 510      510        470976 Jan 30 20:54 file_2.csv
> null
> -rw-rw-r--    1 510      510        468401 Jan 31 20:36 file_4.csv
> null
> -rw-rw-r--    1 510      510        488822 Jan 31 20:44 file_6.csv
> -rw-rw-r--    1 510      510        365192 Mar 31 01:50 file_7.csv

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message