Some files have incorrect time of last modified date

After uploading some files their last modified date is reset so that its time is 4:00.

The strange thing it only happens to SOME files and not to all.

This behavior is consistent and doesn't change even after copying or renaming the files, so it has something to do with their attributes or content.

Please send the log from an affected transfer.

Uploading two files: _correct and _incorrect.


[01:00:25] TYPE I

[01:00:25] 200 Switching to Binary mode.

[01:00:25] SIZE _incorrect

[01:00:25] 550 Could not get file size.

[01:00:25] MDTM _incorrect

[01:00:25] 550 Could not get file modification time.

[01:00:25] STAT _incorrect

[01:00:25] 213-Status follows:

[01:00:25] 213 End of status

[01:00:25] CWD /mehr/public_html/_incorrect

[01:00:25] 550 Failed to change directory.

[01:00:25] TYPE A

[01:00:25] 200 Switching to ASCII mode.

[01:00:25] PASV

[01:00:25] 227 Entering Passive Mode (77,222,40,33,175,152).

[01:00:25] Открытие информационного соединения 77.222.40.33 Порт: 44952

[01:00:25] LIST -aL

[01:00:25] 150 Here comes the directory listing.

[01:00:26] 2012 байт передано. (15,7 КБ/с) (125 ms)

[01:00:26] 226 Directory send OK.

[01:00:26] TYPE I

[01:00:26] 200 Switching to Binary mode.

[01:00:26] SIZE _correct

[01:00:26] 550 Could not get file size.

[01:00:26] MDTM _correct

[01:00:26] 550 Could not get file modification time.

[01:00:26] STAT _correct

[01:00:26] 213-Status follows:

[01:00:26] 213 End of status

[01:00:26] CWD /mehr/public_html/_correct

[01:00:26] 550 Failed to change directory.

[01:00:26] TYPE A

[01:00:26] 200 Switching to ASCII mode.

[01:00:26] PASV

[01:00:26] 227 Entering Passive Mode (77,222,40,33,147,41).

[01:00:26] Открытие информационного соединения 77.222.40.33 Порт: 37673

[01:00:26] LIST -aL

[01:00:26] 150 Here comes the directory listing.

[01:00:27] 2012 байт передано. (15,7 КБ/с) (125 ms)

[01:00:27] 226 Directory send OK.

[01:00:27] Операция добавлена в Очередь передачи. Статус можно отследить в Очереди.

[01:00:29] TYPE I

[01:00:29] 200 Switching to Binary mode.

[01:00:29] SIZE _incorrect

[01:00:29] 213 778

[01:00:29] MDTM _incorrect

[01:00:29] 213 20060312175350

[01:00:29] STAT _incorrect

[01:00:29] 213-Status follows:

[01:00:29] -rw-r--r--    1 1155     600           778 Mar 12  2006 _incorrect

[01:00:29] 213 End of status

[01:00:29] SIZE _correct

[01:00:30] 213 1553

[01:00:30] MDTM _correct

[01:00:30] 213 20090906065212

[01:00:30] STAT _correct

[01:00:30] 213-Status follows:

[01:00:30] -rw-r--r--    1 1155     600          1553 Sep 06 06:52 _correct

[01:00:30] 213 End of status

Post the log from the transfer queue (and not from the remote browsr).

Please also upgrade to the latest version of SmartFTP:
https://www.smartftp.com/download

and post the system information from the menu: Help->About "System Information" dialog.

How do I get transfer queue log?

Double click on the file in the transfer queue.

I figured when the problem occurs. Tried changing LastModified date and apparenly time is reset whenever the date is not of the current year (ie 2008 or 2010 have reset time and 2009 works fine).

Looked up raw file listing and here lies the problem:

drwxr-xr-x    2 1155     600          4096 Oct 05 03:31 .

drwxr-xr-x   11 1155     600          4096 Oct 01 06:34 ..

-rw-r--r--    1 1155     600          1553 Sep 06 06:52 _correct

-rw-r--r--    1 1155     600           778 Mar 12  2008 _incorrect

Yes legacly FTP serves do not return the full date with the time.