This command is like this:
put aaa.cpp [....] ./
and it works fine. However, if I change it to
put -preservetime aaa.cpp [....] ./
it DOESN'T preserve time stamps, instead of that it writes present time!
The same behavior is with -nopreservetime (which is expected).
I made Windows shortcut with target line:
"C:\.....\WinSCP\winscp416.exe" /console /script=winscp_upload_script XXX@YYY.ZZZ
Winscp version: 4.16