Use the MLfiles library to set the file time. You have made sure that the path is correct but the setting fails:
Dim mlfile As MLfiles
Dim lo As Long=1583955394000
If File.Exists(File.DirRootExternal ,"t.xml")Then
If mlfile.SetFileDate(File.DirRootExternal& "/t.xml",lo) Then
Log("y")
Else
Log("n")
Log(mlfile.ErrStr)
End If
End If
Log(mlfile.GetFileDate(File.DirRootExternal &"/t.xml"))
End If