Hi,
I have a file listed with today date
-rwx---r-x 1 system System 10690 Oct 18 21:31 20041018163140.bin
When I call lastModified() method in the FTPFile it returns
10/18/2003 instead of 10/18/2004.
FTPFile[] remotefiles = ftpclient.dirDetails(".");
for(int i=0; i < remotefiles.length; i++)
{
FTPFile remotefile = remotefiles[i];
String filename = remotefile.getName();
Date date = remotefile.lastModified();
}
Output:
Processing file: [20041018163140.bin][10/18/2003 21:31:00]