Skip to content
Advertisement

Tag: ftp-client

FTPClient.listFiles is not returning time in seconds

I have written the above function to retrieve the file details. But somehow I am retrieving the details without seconds part of the file. I am retrieving the lastModifiedDate as 2013-08-08 00:00:00 where as its actual lastModifiedDate is 2013-08-08 12:53:27 PM Answer The FTPClient.listFiles uses the ancient LIST command. With the command, it’s quite common that the FTP server returns

Advertisement