We are using WinSCP 5.1.1. When we FTP to host, WinSCP is showing file modification times incorrectly. It appears to always be 10 hours out. Since we are in Sydney I assume we are getting UTC time. How can I ensure we get actual remote host last modified? I have read about MFMT
and contacted host to ask if server supports this. Their response was:
Server supports MDTM which is similar functionality.
The following commands are recognized:
ABOR ACCT ALLO APPE CDUP CWD DELE EPRT EPSV FEAT HELP LIST MDTM MKD MODE NLST NOOP OPTS PASS PASV PORT PWD QUIT REIN REST RETR RMD RNFR RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD
Should this be enough?? Under the Environment properties in WinSCP I notice Preserve remote timestamp is not an active option since I am using FTP. I found another post suggesting a transfer preset could be a good idea. I have also done this and told it to preserver timestamp under the common options. I know its kicking in because it prompts me when I fire the session.
In summary my Issue/Questions is - If using WinSCP 5.1.1, during a FTP session to a server that claims to support MDTM
should the last modification date show the value on the server or should it show UTC time? Based on what I have already done is there anything on my end that I can do to get the last modification date value on the server?