Timestamp problems
I have read several of the previous conversations about how to preserve timestamps and I still can't get mine to make sense.
I have a hosting service and I am not the root admin. If I create a file on that system and use THEIR web tool to examine the file metadata I see a timestamp of "5:29 PM" – I have to alter how WinSCP and PuTTY see the file to match that timestamp. This timestamp is correct for my local time of US CDT – so they are doing something to translate that in the web page UI.
In WinSCP I am connected via SFTP. I am using an ini file. In that ini file I have
In the Explorer view the file timestamp is "10/20/2022 4:29:08 PM". It is showing 1 hour earlier.
I cannot change the hosts opinion of what time it is. The
Thu Oct 20 15:29:45 PDT 2022
And I cannot change that they think it is PDT
I am launching my WinSCP connection from KeePass using
The hosting company is Dreamhost if that makes a difference.
As a separate problem, PuTTY shows the file as "Oct 20 15:29" – I am opening PuTTY by clicking on the PuTTY button in the WinSCP toolbar. This is showing the file timestamp as 2 hours earlier. I figure that changing that is out of scope for a WinSCP help forum, but just in case someone else had the same problem and fixed it, I include it.
Short version: I want WinSCP, PuTTY, and the hosting company web GUI to agree about the timestamp of a single file. What do I change in my ini file, connection string, or whatever I need to touch in order to make that happen?
I have a hosting service and I am not the root admin. If I create a file on that system and use THEIR web tool to examine the file metadata I see a timestamp of "5:29 PM" – I have to alter how WinSCP and PuTTY see the file to match that timestamp. This timestamp is correct for my local time of US CDT – so they are doing something to translate that in the web page UI.
In WinSCP I am connected via SFTP. I am using an ini file. In that ini file I have
PreserveTime=1
In the Explorer view the file timestamp is "10/20/2022 4:29:08 PM". It is showing 1 hour earlier.
I cannot change the hosts opinion of what time it is. The
date
command (PuTTY) results in:
Thu Oct 20 15:29:45 PDT 2022
And I cannot change that they think it is PDT
I am launching my WinSCP connection from KeePass using
cmd://"WinSCP.exe" /ini="%USERPROFILE%\Documents\Config Files\WinSCP\mysettings.ini" "sftp://{USERNAME}:{PASSWORD}@{URL}"
As a separate problem, PuTTY shows the file as "Oct 20 15:29" – I am opening PuTTY by clicking on the PuTTY button in the WinSCP toolbar. This is showing the file timestamp as 2 hours earlier. I figure that changing that is out of scope for a WinSCP help forum, but just in case someone else had the same problem and fixed it, I include it.
Short version: I want WinSCP, PuTTY, and the hosting company web GUI to agree about the timestamp of a single file. What do I change in my ini file, connection string, or whatever I need to touch in order to make that happen?