Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
1.4
-
None
-
None
-
None
-
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).
Description
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
Attachments
Issue Links
- duplicates
-
NET-188 FTPClient#listFiles returns null element when file's timestamp is "02/29"
- Closed