Local client sees remote file timestamps ahead by 1 hour
Hello. I have several clients using winscp 5.7.2 that pull files from an ubuntu box running proftpd. All of my clients are seeing the correct timestamp of the remote files except for one which sees the remote file timestamps that are exactly 1 hour ahead. All of my clients are using Windows Server 2008R2 and all are on EST with DST enabled. All of my clients use a .cmd file that calls winscp.com, so they never actually touch the winscp.exe gui. I looked into the winscp.ini file and saw a few values that are "might" be related to timestamps but I wasn't sure as I didn't find any documentation online.
If I want all of the clients to always accept the remote file timestamp, would I need to add this line to my script?
This is the winscp relevant portion of my .cmd script:
If I want all of the clients to always accept the remote file timestamp, would I need to add this line to my script?
option preservetime
This is the winscp relevant portion of my .cmd script:
echo option batch abort>> batch.bat echo option confirm on>> batch.bat echo open sftp://%Username%:%Password%@%FTPAddress%>> batch.bat echo option transfer binary>> batch.bat echo lcd %Local% >> batch.bat echo cd %Remote% >> batch.bat echo put * >> batch.bat echo exit>> batch.bat WinSCP.com /script=batch.bat /nointeractiveinput