You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using primitive ftpd v6.15 with the super user storage type. My phone is running Android 12, xiaomi.eu v13.0.15, rooted.
I'm using sftp to upload a file to the phone. The transfer appears to work fine and the file size is the same, but the timestamp is different on the phone. I noticed another issue where the timestamp was the created time instead of the modified time, but in this case, it is neither.
The original file created time is 12/3/2022 1:37:01 AM and the modified time is 12/13/2022 11:05:30 PM.
When I look at the file on the phone from a usb connection, it shows the timestamp as 2/8/2020 at 8:52 PM.
When I look at the file on the phone from sftp, it shows the timestamp as 2/9/2020.
Windows 10 vs. sftp (psftp/putty)
12/13/2022 11:05 PM 179,746 backup.daily
-rwxrwx--- 0 root everybod 179746 Feb 9 2020 backup.daily
Any ideas?
UPDATE: It's odd. I noticed after I rebooted the phone, it has the correct timestamp on the file. So I tried uploading it again. This time the timestamp had a future date, 2/16/2023 4:04 PM. Then I rebooted the phone, and it's correct, 12/15/2022 1:35 AM. If I copy the file using the usb connection, this doesn't happen. It only happens via sftp, and the timestamp is incorrect viewed from sftp or usb. Until I reboot the phone.
The text was updated successfully, but these errors were encountered:
There have been reports regarding wrong timestamps before. Behavior depends heavily on used storage type. I'm not sure if client software may send different timestamps.
For storage type "root" there is timestamp handling implemented. I'll check it when I find time.
I'm using primitive ftpd v6.15 with the super user storage type. My phone is running Android 12, xiaomi.eu v13.0.15, rooted.
I'm using sftp to upload a file to the phone. The transfer appears to work fine and the file size is the same, but the timestamp is different on the phone. I noticed another issue where the timestamp was the created time instead of the modified time, but in this case, it is neither.
The original file created time is 12/3/2022 1:37:01 AM and the modified time is 12/13/2022 11:05:30 PM.
When I look at the file on the phone from a usb connection, it shows the timestamp as 2/8/2020 at 8:52 PM.
When I look at the file on the phone from sftp, it shows the timestamp as 2/9/2020.
Windows 10 vs. sftp (psftp/putty)
12/13/2022 11:05 PM 179,746 backup.daily
-rwxrwx--- 0 root everybod 179746 Feb 9 2020 backup.daily
Any ideas?
UPDATE: It's odd. I noticed after I rebooted the phone, it has the correct timestamp on the file. So I tried uploading it again. This time the timestamp had a future date, 2/16/2023 4:04 PM. Then I rebooted the phone, and it's correct, 12/15/2022 1:35 AM. If I copy the file using the usb connection, this doesn't happen. It only happens via sftp, and the timestamp is incorrect viewed from sftp or usb. Until I reboot the phone.
The text was updated successfully, but these errors were encountered: