waltersiekmann
Member
Hello everyone,
have been looking for a solution to a simple matter for hours. The German community cannot help me. It's about Files () which should return the modification time as FTPEntry. Of course triggered by FTP.List etc. Date works. Files (). TimeStamp (see end of line 10) simply does not contain any time. This is always 00:00:00. In the same constellation with other FTP clients, the modification time of the files is displayed correctly.
Is there a trick? Is this known and is there a workaround? Can I somehow event. switch between creation time and modification time?
I'm grateful for every tip. Without this time information, my project under B4J will die.
Walter Siekmann
have been looking for a solution to a simple matter for hours. The German community cannot help me. It's about Files () which should return the modification time as FTPEntry. Of course triggered by FTP.List etc. Date works. Files (). TimeStamp (see end of line 10) simply does not contain any time. This is always 00:00:00. In the same constellation with other FTP clients, the modification time of the files is displayed correctly.
Is there a trick? Is this known and is there a workaround? Can I somehow event. switch between creation time and modification time?
I'm grateful for every tip. Without this time information, my project under B4J will die.
Walter Siekmann
FTP_ListCompleted in B4J:
Sub ftp1_ListCompleted (ServerPath As String, Success As Boolean, Folders() As FTPEntry, Files() As FTPEntry)
If Success = False Then
Log(LastException)
Else
For i = 0 To Folders.Length - 1
Log("Dir: " & Folders(i).Name)
Next
For i = 0 To Files.Length - 1
Log("File1: " & ServerPath & "/" & Files(i).Name & ", " & Files(i).Size & ", " & DateTime.date(Files(i).Timestamp) & " " & DateTime.time(Files(i).Timestamp))
Next
End If
End Sub