B4J Question FTP FileTimestamp different from FileZilla Timestamp

select

Member
Licensed User
Longtime User
Hi, I need to find the most recent file in an FTP folder.

I'm using code like this:

B4X:
Sub FTP_ListCompleted (ServerPath As String, Success As Boolean, Folders() As FTPEntry, Files() As FTPEntry)

...

DateTime.Date(Files(i).Timestamp


it would appear that the date value returned is different from the one displayed in FileZilla.

It's possible?

Is there a better way (than comparing dates) to find the most recent file in an FTP folder?

Thank you!
 
Top