Hello erverybody,
I am writing a program which shoud synchronize two directories over ftp. So it is important for me to know the lastMod time of a the remote files. But using the dirDetails() method I always get absolute wrong information on this, which differ from the real date by several years.
As I connected to my FTP server manually, I got this result when calling the 'dir' action:
drwxr-xr-x 3 dd dd 4096 Nov 29 09:44 public_html
drwxr-xr-x 4 dd dd 4096 Aug 23 2004 quellen
So as you can see the server returns the year for one file and the time for another. - This seems to be very senseless to me.
Has anyone experienced similar problems? Is it even possible to recieve correct information on this from an ftp server in general?
ps. the server I am unsing right now is 'proftpd' under debian linux.
Thanks,
Peter