I think that has nailed it. My Override URL command line in KeePass now is
And all of the timestamps match between the three different ways of viewing (
Thanks for the help!
For anyone else that reads this later. This solves the problem of the remote server having a timestamp setting that a) isn't what it says it is and b) can't be changed by the user. Leading to the problem that the answer to the question of "what time was this file created?" depends on how you have looked at it in WinSCP or PuTTY or some third way of listing files.
In my case the third way is the "right" answer (I is not right, but everything else must match it).
In PuTTY it is solved by setting the
And in WinSCP with the answer that Martin provided.
Fingers crossed that when DST ends I don't have to change my command line – but at least I have a head start on where to look.
cmd://"WinSCP.exe" /ini="%USERPROFILE%\Documents\Config Files\WinSCP\domain.ini" "scp://{USERNAME}:{PASSWORD}@{URL}" /rawsettings ConsiderDST=2
And all of the timestamps match between the three different ways of viewing (
ls -l
in PuTTY, the Web based GUI provided by the hosting company).
Thanks for the help!
For anyone else that reads this later. This solves the problem of the remote server having a timestamp setting that a) isn't what it says it is and b) can't be changed by the user. Leading to the problem that the answer to the question of "what time was this file created?" depends on how you have looked at it in WinSCP or PuTTY or some third way of listing files.
In my case the third way is the "right" answer (I is not right, but everything else must match it).
In PuTTY it is solved by setting the
TZ
environment variable to some value that just makes it work, not necessarily the time zone of your location!
And in WinSCP with the answer that Martin provided.
Fingers crossed that when DST ends I don't have to change my command line – but at least I have a head start on where to look.