Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.2k views
in Java FTP by (400 points)
Hi,

looking into the class UnixFileParser I have been surprised, that always the current year is used on parsing delivered file time. Normally the unix systems deliveres file time for files modified within the last 6 month. If e.g. in January 2005 a file timestamp like "2 Dec 11:35" will be send by the unix ftp server, the class UnixFileParser will set the file date to 2 Dec 2005 (thus in the future). What is wrong on my reflectings ?

Thanks for your answer(s)

1 Answer

0 votes
by (162k points)
Obviously it is incorrect setting the date in the future!

We'll do a fix for 1.4.4. Unfortunately it seems like some Unixes differ - sometimes it is 6 months, others it is 12 months. Anyway, we'll try to work around this as much as possible.

Hi,

looking into the class UnixFileParser I have been surprised, that always the current year is used on parsing delivered file time. Normally the unix systems deliveres file time for files modified within the last 6 month. If e.g. in January 2005 a file timestamp like "2 Dec 11:35" will be send by the unix ftp server, the class UnixFileParser will set the file date to 2 Dec 2005 (thus in the future). What is wrong on my reflectings ?

Thanks for your answer(s)

Categories

...